|
@@ -321,7 +321,8 @@ class ClassPage {
|
|
|
|| element.hasClass('property-item-comment-input')
|
|
|
|| element.hasClass('property-item-comment-button')
|
|
|
|| element.hasClass('property-item-saving-filler')
|
|
|
- || (el.hasClass('property-item-comment-static') && el.hasClass(ClassPage.StyleClasses.Clickable));
|
|
|
+ || (el.hasClass('property-item-comment-static') && el.hasClass(ClassPage.StyleClasses.Clickable))
|
|
|
+ || element.getTag() === DOM.Tags.A;
|
|
|
};
|
|
|
|
|
|
if(type !== ClassPage.PropertyType.Inherited) {
|
|
@@ -484,6 +485,8 @@ class ClassPage {
|
|
|
});
|
|
|
|
|
|
itemCommentStatic.on(DOM.Events.Click, (e) => {
|
|
|
+ if(CDElement.get(e.target).getTag() === DOM.Tags.A)
|
|
|
+ return;
|
|
|
itemCommentInput.switchClass(ClassPage.StyleClasses.Hidden);
|
|
|
itemCommentInput.focus();
|
|
|
itemCommentInput.style('height', `${Math.min(422, itemCommentStatic.get().scrollHeight + 2)}px`);
|