terminal: workaround for chrome weirdness when reloading
This commit is contained in:
parent
442b239b12
commit
160c006a28
|
@ -34,7 +34,9 @@
|
|||
let current = 0;
|
||||
let interval;
|
||||
|
||||
window.scrollTo({top: 0});
|
||||
setTimeout(() => {
|
||||
window.scrollTo({top: 0});
|
||||
}, 10);
|
||||
|
||||
if (max > 0) {
|
||||
setTimeout(() => {
|
||||
|
|
Loading…
Reference in New Issue