2
0
Fork 0

terminal: workaround for chrome weirdness when reloading

This commit is contained in:
Florian Sorg 2022-05-21 19:40:49 +02:00
parent 442b239b12
commit 160c006a28
1 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,9 @@
let current = 0; let current = 0;
let interval; let interval;
window.scrollTo({top: 0}); setTimeout(() => {
window.scrollTo({top: 0});
}, 10);
if (max > 0) { if (max > 0) {
setTimeout(() => { setTimeout(() => {