summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-11-28 12:50:37 +0100
committerGitHub <noreply@github.com>2016-11-28 12:50:37 +0100
commitddea6d1a90acc0d5c1d24dbe6b770cae6ab4d3a1 (patch)
treea29dd211c104445342c7b440bb7270df864fbbd4 /core
parent43aeab9b926b441ead8992eeb458f9b374455224 (diff)
parent65c03c26ea921b08cf2ba83d9b8b74461d383674 (diff)
downloadnextcloud-server-ddea6d1a90acc0d5c1d24dbe6b770cae6ab4d3a1.tar.gz
nextcloud-server-ddea6d1a90acc0d5c1d24dbe6b770cae6ab4d3a1.zip
Merge pull request #2365 from nextcloud/resize-the-controls-after-the-sidebar-slided-in
Make sure the controls is resized after the sidebar disappeared
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js2
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));
}