mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
refactor: adjust code for debounce v3
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
c3ec3aa346
commit
776c960308
2 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ export default Vue.extend({
|
|||
this.tableHeight = root?.clientHeight ?? 0
|
||||
logger.debug('VirtualList resizeObserver updated')
|
||||
this.onScroll()
|
||||
}, 100, false))
|
||||
}, 100))
|
||||
|
||||
this.resizeObserver.observe(root)
|
||||
this.resizeObserver.observe(tfoot)
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ export default {
|
|||
if (wasAway) {
|
||||
this._backgroundHeartbeat()
|
||||
}
|
||||
}, 1000 * 2, true)
|
||||
}, 1000 * 2, { immediate: true })
|
||||
window.addEventListener('mousemove', this.mouseMoveListener, {
|
||||
capture: true,
|
||||
passive: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue