Update StyleClass.js

pull/4119/head
Tuğçe Küçükoğlu 2023-07-07 10:45:25 +03:00
parent 265a45622a
commit ca49de6898
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ const StyleClass = BaseStyleClass.extend('styleclass', {
target.$p_styleclass_documentlistener = (event) => {
if (!this.isVisible(target) || getComputedStyle(target).getPropertyValue('position') === 'static') {
this.unbindDocumentListener(target);
} else if (isOutsideClick(event, target, el)) {
} else if (this.isOutsideClick(event, target, el)) {
this.leave(target, binding);
}
};