Roo/bootstrap/Popover.js
authorAlan Knowles <alan@roojs.com>
Wed, 27 Jan 2021 09:49:04 +0000 (17:49 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 27 Jan 2021 09:49:04 +0000 (17:49 +0800)
Roo/bootstrap/Popover.js

index 7a46694..a22b9c1 100644 (file)
@@ -314,6 +314,9 @@ Roo.apply(Roo.bootstrap.Popover, {
     
     register : function(popup)
     {
+        if (this.clickHandler = false) {
+            this.clickHandler = Roo.get(document).un("mousedown", this.onMouseDown, this);
+        }
         // hide other popups.
         this.popups.each(function(p) { p.hide()); })
         this.popups.push(popup);