fix popover issue
[roojs1] / 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();
         }