Roo/bootstrap/Menu.js
authoredward <edward@roojs.com>
Fri, 29 Dec 2017 06:11:31 +0000 (14:11 +0800)
committeredward <edward@roojs.com>
Fri, 29 Dec 2017 06:11:31 +0000 (14:11 +0800)
Roo/bootstrap/Menu.js

index ced86d5..afcd2dd 100644 (file)
@@ -211,9 +211,10 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
         
         var _this = this;
         
-        Roo.log(t);
+        if(!t.href.length || t.href == '#'){
+            (function() { _this.hide(); }).defer(100);
+        }
         
-        (function() { _this.hide(); }).defer(100);
     },
     
     onMouseOver : function(e){