summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-02-27 10:55:29 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-02-28 16:09:33 +0100
commitc2aa21fd0e3d81944c2dd3a1465c2d66462f7d26 (patch)
tree1c9c145cb6b57c20ccf3dc4348a24d687ee14f57 /core/src
parent7519a9a9903565f53d6b656fbd328a83df6011b9 (diff)
downloadnextcloud-server-c2aa21fd0e3d81944c2dd3a1465c2d66462f7d26.tar.gz
nextcloud-server-c2aa21fd0e3d81944c2dd3a1465c2d66462f7d26.zip
Remove unneeded sidebar animation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/OC/apps.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/core/src/OC/apps.js b/core/src/OC/apps.js
index 8802fc81c2a..d476e74c811 100644
--- a/core/src/OC/apps.js
+++ b/core/src/OC/apps.js
@@ -25,8 +25,7 @@ const Apps = {
*/
Apps.showAppSidebar = function ($el) {
var $appSidebar = $el || $('#app-sidebar');
- $appSidebar.removeClass('disappear')
- .show('slide', {direction: 'right'}, 300);
+ $appSidebar.removeClass('disappear').show();
$('#app-content').trigger(new $.Event('appresized'));
};
@@ -38,10 +37,7 @@ Apps.showAppSidebar = function ($el) {
*/
Apps.hideAppSidebar = function ($el) {
var $appSidebar = $el || $('#app-sidebar');
- $appSidebar.hide('slide', {direction: 'right'}, 300,
- function () {
- $appSidebar.addClass('disappear');
- });
+ $appSidebar.hide().addClass('disappear');
$('#app-content').trigger(new $.Event('appresized'));
};