提交 1c448a3a 编写于 作者: A Abdullah Almsaeed

Merge pull request #717 from zviryatko/patch-1

Fix animation bug with collapsed sidebar and treeview menu.
......@@ -394,7 +394,7 @@ function _init() {
var checkElement = $this.next();
//Check if the next element is a menu and is visible
if ((checkElement.is('.treeview-menu')) && (checkElement.is(':visible'))) {
if ((checkElement.is('.treeview-menu')) && (checkElement.is(':visible')) && (!$('body').hasClass('sidebar-collapse'))) {
//Close the menu
checkElement.slideUp(animationSpeed, function () {
checkElement.removeClass('menu-open');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册