From b365962bbf4b7c64f82afa70649d43475f9d5360 Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 10 Dec 2017 10:42:03 +0300 Subject: [PATCH] don't scroll search list into view in old FF couldn't find the reason in a couple minutes I can waste on this --- popup/search-results.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/popup/search-results.js b/popup/search-results.js index 238db8c6..13b19d53 100755 --- a/popup/search-results.js +++ b/popup/search-results.js @@ -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'}); + } } }