This commit is contained in:
Andrew Kingston 2024-08-01 12:02:51 +01:00
parent 50a4f75f2b
commit e7dd45a5e9
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@
onDestroy(() => { onDestroy(() => {
clearInterval(interval) clearInterval(interval)
document.removeEventListener("scroll", v, true) document.removeEventListener("scroll", debouncedUpdate, true)
observers.forEach(o => o.disconnect()) observers.forEach(o => o.disconnect())
}) })
</script> </script>