summaryrefslogtreecommitdiffstats
path: root/core/js/apps.js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-07-28 14:46:10 +0200
committerArthur Schiwon <blizzz@owncloud.com>2015-08-07 01:22:44 +0200
commita81251454d81a5ea2532b66af42c835bc5566f00 (patch)
tree323c8ca96e813a02de207409267320b0475e9692 /core/js/apps.js
parent5af59c68712032ef387ccd4410eb4b8b04c27df9 (diff)
downloadnextcloud-server-a81251454d81a5ea2532b66af42c835bc5566f00.tar.gz
nextcloud-server-a81251454d81a5ea2532b66af42c835bc5566f00.zip
fix show/hide app sidebar functions
Diffstat (limited to 'core/js/apps.js')
-rw-r--r--core/js/apps.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/js/apps.js b/core/js/apps.js
index 1606abf5971..5d9bbeb870a 100644
--- a/core/js/apps.js
+++ b/core/js/apps.js
@@ -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');
};
/**