From 65c03c26ea921b08cf2ba83d9b8b74461d383674 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 28 Nov 2016 11:23:05 +0100 Subject: [PATCH] Make sure the controls is resized after the sidebar disappeared Signed-off-by: Joas Schilling --- core/js/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/js.js b/core/js/js.js index b8535518f02..e2b8731c877 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1502,7 +1502,7 @@ function initCore() { $(window).resize(_.debounce(adjustControlsWidth, 250)); - $('body').delegate('#app-content', 'apprendered appresized', adjustControlsWidth); + $('body').delegate('#app-content', 'apprendered appresized', _.debounce(adjustControlsWidth, 100)); } -- 2.39.5