add missing }
This commit is contained in:
parent
fc1b522846
commit
ef32cd3583
@ -146,6 +146,7 @@ setInterval(() => {
|
|||||||
if (box.scrollTop + box.clientHeight >= box.scrollHeight) scrollDirection = -1;
|
if (box.scrollTop + box.clientHeight >= box.scrollHeight) scrollDirection = -1;
|
||||||
if (box.scrollTop <= 0) scrollDirection = 1;
|
if (box.scrollTop <= 0) scrollDirection = 1;
|
||||||
box.scrollTop += scrollDirection * 1;
|
box.scrollTop += scrollDirection * 1;
|
||||||
|
}
|
||||||
}, 100);
|
}, 100);
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user