fix show/hide app sidebar functions

This commit is contained in:
Arthur Schiwon 2015-07-28 14:46:10 +02:00
parent 5af59c6871
commit a81251454d
1 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,8 @@
var $appSidebar = $('#app-sidebar');
$appSidebar
.removeClass('disappear')
.find('~ .with-app-sidebar').removeClass('.with-app-sidebar');
.find('~').addClass('with-app-sidebar');
};
/**
@ -38,7 +39,7 @@
var $appSidebar = $('#app-sidebar');
$appSidebar
.addClass('disappear')
.find('~').addClass('.with-app-sidebar');
.find('~ .with-app-sidebar').removeClass('with-app-sidebar');
};
/**