mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 19:33:09 +02:00
fix
This commit is contained in:
parent
fae912a754
commit
130ece74f9
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ watch([$$(weakBacked), $$(contentEl)], () => {
|
||||||
|
|
||||||
const container = scrollableElementOrHtml;
|
const container = scrollableElementOrHtml;
|
||||||
|
|
||||||
function removeListener() { container.removeEventListener('scroll', onScroll); }
|
function removeListener() { container.removeEventListener('scroll', checkBacked); }
|
||||||
container.addEventListener('scroll', checkBacked, { passive: true });
|
container.addEventListener('scroll', checkBacked, { passive: true });
|
||||||
return removeListener;
|
return removeListener;
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in a new issue