aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/apps.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-08-06 11:45:12 +0200
committerArthur Schiwon <blizzz@owncloud.com>2015-08-07 01:22:45 +0200
commitae27f90efe554d3a8a069165fe14cfd50445855d (patch)
treefd7bbf21516952f88da367f6c86b9d1ede3b53f9 /core/js/apps.js
parenteb323fe8dee06a3685793f7e08748f303add7766 (diff)
downloadnextcloud-server-ae27f90efe554d3a8a069165fe14cfd50445855d.tar.gz
nextcloud-server-ae27f90efe554d3a8a069165fe14cfd50445855d.zip
Fix app-content scrollbar when app-sidebar is open
Diffstat (limited to 'core/js/apps.js')
-rw-r--r--core/js/apps.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/core/js/apps.js b/core/js/apps.js
index 5d9bbeb870a..d0d351f5147 100644
--- a/core/js/apps.js
+++ b/core/js/apps.js
@@ -25,9 +25,8 @@
*/
exports.Apps.showAppSidebar = function() {
var $appSidebar = $('#app-sidebar');
- $appSidebar
- .removeClass('disappear')
- .find('~').addClass('with-app-sidebar');
+ $appSidebar.removeClass('disappear')
+ $('#app-content').addClass('with-app-sidebar');
};
@@ -37,9 +36,8 @@
*/
exports.Apps.hideAppSidebar = function() {
var $appSidebar = $('#app-sidebar');
- $appSidebar
- .addClass('disappear')
- .find('~ .with-app-sidebar').removeClass('with-app-sidebar');
+ $appSidebar.addClass('disappear');
+ $('#app-content').removeClass('with-app-sidebar');
};
/**