]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make sure the controls is resized after the sidebar disappeared 2365/head
authorJoas Schilling <coding@schilljs.com>
Mon, 28 Nov 2016 10:23:05 +0000 (11:23 +0100)
committerJoas Schilling <coding@schilljs.com>
Mon, 28 Nov 2016 10:23:05 +0000 (11:23 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
core/js/js.js

index b8535518f02c629c6425e27bcfc0aac8d49012fe..e2b8731c877db12effda91a3ea02bf09fe098cc8 100644 (file)
@@ -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));
 
        }