Roo/bootstrap/Menu.js
authorAlan Knowles <alan@roojs.com>
Wed, 28 Nov 2018 08:22:03 +0000 (16:22 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Nov 2018 08:22:03 +0000 (16:22 +0800)
Roo/bootstrap/Menu.js

index f475871..4304cfb 100644 (file)
@@ -25,6 +25,8 @@ Roo.bootstrap.Menu = function(config){
     if (this.registerMenu && this.type != 'treeview')  {
         Roo.bootstrap.MenuMgr.register(this);
     }
+    this.openClass = Roo.bootstrap.version = 4 ? 'show' : 'open';
+    
     this.addEvents({
         /**
          * @event beforeshow