Update StyleClass.js

This commit is contained in:
Tuğçe Küçükoğlu 2023-07-07 10:45:25 +03:00
parent 265a45622a
commit ca49de6898

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);
}
};