Merge pull request #2365 from nextcloud/resize-the-controls-after-the-sidebar-slided-in
Make sure the controls is resized after the sidebar disappeared
This commit is contained in:
commit
ddea6d1a90
|
@ -1502,7 +1502,7 @@ function initCore() {
|
||||||
|
|
||||||
$(window).resize(_.debounce(adjustControlsWidth, 250));
|
$(window).resize(_.debounce(adjustControlsWidth, 250));
|
||||||
|
|
||||||
$('body').delegate('#app-content', 'apprendered appresized', adjustControlsWidth);
|
$('body').delegate('#app-content', 'apprendered appresized', _.debounce(adjustControlsWidth, 100));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue