From ca49de689891333c51c21989923a243da86da396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 7 Jul 2023 10:45:25 +0300 Subject: [PATCH] Update StyleClass.js --- components/lib/styleclass/StyleClass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/styleclass/StyleClass.js b/components/lib/styleclass/StyleClass.js index 688b9f14b..563f1b7d1 100644 --- a/components/lib/styleclass/StyleClass.js +++ b/components/lib/styleclass/StyleClass.js @@ -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); } };