summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-26 16:47:16 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-07-20 23:37:00 +0200
commitd6b718584e8aff74a0e76f77d2c1c5689f78cc78 (patch)
tree6f4322460b0d6e11257e59350308f8ad5e9a40b1 /core/js
parent842583038bb54c2787fb7a2d5ebd84a2fec849fd (diff)
downloadnextcloud-server-d6b718584e8aff74a0e76f77d2c1c5689f78cc78.tar.gz
nextcloud-server-d6b718584e8aff74a0e76f77d2c1c5689f78cc78.zip
Sidebar fix
Fix sidebar and scrollbar on content Sidebar fixes, and sidebar-width + header-height variables Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/apps.js12
1 files changed, 4 insertions, 8 deletions
diff --git a/core/js/apps.js b/core/js/apps.js
index 8aebbbd418c..b40883e88cf 100644
--- a/core/js/apps.js
+++ b/core/js/apps.js
@@ -27,9 +27,8 @@
*/
exports.Apps.showAppSidebar = function($el) {
var $appSidebar = $el || $('#app-sidebar');
- $appSidebar.removeClass('disappear')
- .show('slide', { direction: 'right' }, 200);
- $('#app-content').addClass('with-app-sidebar', 200).trigger(new $.Event('appresized'));
+ $appSidebar.removeClass('disappear');
+ $('#content').addClass('with-app-sidebar').trigger(new $.Event('appresized'));
};
/**
@@ -40,11 +39,8 @@
*/
exports.Apps.hideAppSidebar = function($el) {
var $appSidebar = $el || $('#app-sidebar');
- $appSidebar.hide('slide', { direction: 'right' }, 100,
- function() {
- $appSidebar.addClass('disappear');
- });
- $('#app-content').removeClass('with-app-sidebar', 100).trigger(new $.Event('appresized'));
+ $appSidebar.addClass('disappear');
+ $('#content').removeClass('with-app-sidebar').trigger(new $.Event('appresized'));
};
/**