fix gotoup in firefox

This commit is contained in:
Nicolas Constant 2019-10-01 00:55:20 -04:00
parent 8c36620b0a
commit ed1e52232d
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 1 additions and 7 deletions

View File

@ -180,13 +180,7 @@ export class StreamStatusesComponent implements OnInit, OnDestroy {
top: 0, top: 0,
behavior: 'smooth' behavior: 'smooth'
}); });
}, 0); }, 10);
setTimeout(() => {
stream.scrollTo({
top: 0,
behavior: 'auto'
});
}, 250);
return false; return false;
} }