summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2016-07-30 16:24:04 +0200
committerJulius Haertl <jus@bitgrid.net>2016-07-30 16:24:04 +0200
commitfdcba04c98cf9bffe1ff0d29671fdea1b7f643cd (patch)
tree351bc05b15ecdb994188db3c30050c3288f26da8 /core
parentfe8d13c935c75f9b04eee0fbfda950f96960f2c1 (diff)
downloadnextcloud-server-fdcba04c98cf9bffe1ff0d29671fdea1b7f643cd.tar.gz
nextcloud-server-fdcba04c98cf9bffe1ff0d29671fdea1b7f643cd.zip
Add animation to app-content
Diffstat (limited to 'core')
-rw-r--r--core/js/apps.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/apps.js b/core/js/apps.js
index 70f82ab6b45..a2d3460c907 100644
--- a/core/js/apps.js
+++ b/core/js/apps.js
@@ -29,7 +29,7 @@
var $appSidebar = $el || $('#app-sidebar');
$appSidebar.removeClass('disappear')
.show('slide', { direction: 'right' }, 200);
- $('#app-content').addClass('with-app-sidebar').trigger(new $.Event('appresized'));
+ $('#app-content').addClass('with-app-sidebar', 200).trigger(new $.Event('appresized'));
};
/**
@@ -44,7 +44,7 @@
function() {
$appSidebar.addClass('disappear');
});
- $('#app-content').removeClass('with-app-sidebar').trigger(new $.Event('appresized'));
+ $('#app-content').removeClass('with-app-sidebar', 100).trigger(new $.Event('appresized'));
};
/**