From fdcba04c98cf9bffe1ff0d29671fdea1b7f643cd Mon Sep 17 00:00:00 2001 From: Julius Haertl <jus@bitgrid.net> Date: Sat, 30 Jul 2016 16:24:04 +0200 Subject: [PATCH] Add animation to app-content --- core/js/apps.js | 4 ++-- 1 file 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')); }; /** -- GitLab