summaryrefslogtreecommitdiffstats
path: root/core/js/apps.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/apps.js')
-rw-r--r--core/js/apps.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/js/apps.js b/core/js/apps.js
index f148de3b2e9..d8f4bfdf1c5 100644
--- a/core/js/apps.js
+++ b/core/js/apps.js
@@ -27,8 +27,8 @@
*/
exports.Apps.showAppSidebar = function($el) {
var $appSidebar = $el || $('#app-sidebar');
- $appSidebar.removeClass('disappear')
- $('#app-content').addClass('with-app-sidebar');
+ $appSidebar.removeClass('disappear');
+ $('#app-content').addClass('with-app-sidebar').trigger(new $.Event('appresized'));
};
@@ -41,7 +41,7 @@
exports.Apps.hideAppSidebar = function($el) {
var $appSidebar = $el || $('#app-sidebar');
$appSidebar.addClass('disappear');
- $('#app-content').removeClass('with-app-sidebar');
+ $('#app-content').removeClass('with-app-sidebar').trigger(new $.Event('appresized'));
};
/**