From 24328c4b1c3fe050e4bebf0311c95c7f9af78855 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 28 Nov 2018 16:22:03 +0800 Subject: [PATCH] Roo/bootstrap/Menu.js --- Roo/bootstrap/Menu.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Roo/bootstrap/Menu.js b/Roo/bootstrap/Menu.js index f475871a10..4304cfb592 100644 --- a/Roo/bootstrap/Menu.js +++ b/Roo/bootstrap/Menu.js @@ -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 -- 2.39.2