From: Kohei Yoshino Date: Thu, 21 Dec 2017 02:38:01 +0000 (-0500) Subject: Bug 905763 follow-up - Make sure focused comment will always be displayed under globa... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=484182135092c4c01a8db6f5c44e1afa89b540d7;p=thirdparty%2Fbugzilla.git Bug 905763 follow-up - Make sure focused comment will always be displayed under global header --- diff --git a/js/global.js b/js/global.js index 3a4074d27..a590c6ac6 100644 --- a/js/global.js +++ b/js/global.js @@ -204,7 +204,7 @@ const scroll_element_into_view = () => { if ($comment) { window.setTimeout(() => { window.scrollTo(0, $comment.offsetTop - $header.offsetHeight - 20); - }, 100); + }, 250); } } }