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:
tophf 2017-12-10 10:42:03 +03:00
parent 888f93281d
commit b365962bbf

View File

@ -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'});
}
}
}