Roo/bootstrap/Menu.js
authoredward <edward@roojs.com>
Wed, 9 Dec 2015 07:16:54 +0000 (15:16 +0800)
committeredward <edward@roojs.com>
Wed, 9 Dec 2015 07:16:54 +0000 (15:16 +0800)
Roo/bootstrap/Menu.js

index 31fc113..548326e 100644 (file)
@@ -301,7 +301,7 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
             return;
         }
         
-        if (this.isVisible()) {
+        if (this.isVisible() || this.triggerEl.hasClass('open')) {
             Roo.log('hide');
             this.hide();
         } else {