fix popover issue
authorAlan Knowles <alan@roojs.com>
Mon, 5 Jul 2021 05:02:34 +0000 (13:02 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 5 Jul 2021 05:02:34 +0000 (13:02 +0800)
Roo/bootstrap/Popover.js

index 376b2d3..604aad6 100644 (file)
@@ -448,7 +448,7 @@ Roo.apply(Roo.bootstrap.Popover, {
 
     onMouseDown : function(e)
     {
-        if (this.popup.length &&  !e.getTarget(".roo-popover") && this.popup.length) {
+        if (this.popups.length &&  !e.getTarget(".roo-popover")) {
             /// what is nothing is showing..
             this.hideAll();
         }