diff options
author | Joas Schilling <coding@schilljs.com> | 2016-11-28 11:23:05 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-11-28 11:23:05 +0100 |
commit | 65c03c26ea921b08cf2ba83d9b8b74461d383674 (patch) | |
tree | 077f671524669abe02813f70d569045705e9e30b /core/js | |
parent | ca7b9e54903286c63031739fa31ecbd33084d7b4 (diff) | |
download | nextcloud-server-65c03c26ea921b08cf2ba83d9b8b74461d383674.tar.gz nextcloud-server-65c03c26ea921b08cf2ba83d9b8b74461d383674.zip |
Make sure the controls is resized after the sidebar disappeared
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |