don't scroll search list into view in old FF
couldn't find the reason in a couple minutes I can waste on this
This commit is contained in:
parent
888f93281d
commit
b365962bbf
|
@ -134,7 +134,9 @@ window.addEventListener('showStyles:done', function _() {
|
|||
|
||||
if (scrollToFirstResult && list.children[0]) {
|
||||
scrollToFirstResult = false;
|
||||
list.children[0].scrollIntoView({behavior: 'smooth', block: 'start'});
|
||||
if (!FIREFOX || FIREFOX >= 55) {
|
||||
list.children[0].scrollIntoView({behavior: 'smooth', block: 'start'});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user