Add missing check for update lock

Fixes #1579
pull/1770/head
arggh 6 years ago
parent 2485604d2f
commit 4065f7741b

@ -157,7 +157,7 @@ export default class WindowWrapper extends Wrapper {
[bindings.scrollX, bindings.scrollY].map(
binding => binding && `changed["${binding}"]`
).filter(Boolean).join(' || ')
}) {
} && !${lock}) {
${lock} = true;
clearTimeout(${timeout});
window.scrollTo(${

Loading…
Cancel
Save