mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Added debounce on resize
This commit is contained in:
parent
5d02b5663b
commit
b8ab77a475
1 changed files with 1 additions and 1 deletions
|
|
@ -1178,7 +1178,7 @@ function initCore() {
|
|||
}
|
||||
};
|
||||
|
||||
$(window).resize(toggleSnapperOnSize);
|
||||
$(window).resize(_.debounce(toggleSnapperOnSize, 250));
|
||||
|
||||
// initial call
|
||||
toggleSnapperOnSize();
|
||||
|
|
|
|||
Loading…
Reference in a new issue