Update StyleClass.js
parent
265a45622a
commit
ca49de6898
|
@ -145,7 +145,7 @@ const StyleClass = BaseStyleClass.extend('styleclass', {
|
||||||
target.$p_styleclass_documentlistener = (event) => {
|
target.$p_styleclass_documentlistener = (event) => {
|
||||||
if (!this.isVisible(target) || getComputedStyle(target).getPropertyValue('position') === 'static') {
|
if (!this.isVisible(target) || getComputedStyle(target).getPropertyValue('position') === 'static') {
|
||||||
this.unbindDocumentListener(target);
|
this.unbindDocumentListener(target);
|
||||||
} else if (isOutsideClick(event, target, el)) {
|
} else if (this.isOutsideClick(event, target, el)) {
|
||||||
this.leave(target, binding);
|
this.leave(target, binding);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue