mirror of https://github.com/akveo/blur-admin
fix(sidebar): fix sidebar menuCollapsed bug
parent
b6b52af148
commit
412b82fbc2
|
@ -162,7 +162,7 @@
|
|||
$scope.toggleSubMenu = function ($event, item) {
|
||||
var submenu = $($event.currentTarget).next();
|
||||
|
||||
if (isMenuCollapsed.$isMenuCollapsed) {
|
||||
if ($rootScope.$isMenuCollapsed) {
|
||||
if (!item.slideRight) {
|
||||
$timeout(function () {
|
||||
item.slideRight = true;
|
||||
|
|
Loading…
Reference in New Issue