]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 905763 follow-up - Make sure focused comment will always be displayed under globa...
authorKohei Yoshino <kohei.yoshino@gmail.com>
Thu, 21 Dec 2017 02:38:01 +0000 (21:38 -0500)
committerDylan William Hardison <dylan@hardison.net>
Thu, 21 Dec 2017 02:38:01 +0000 (21:38 -0500)
js/global.js

index 3a4074d273c4c7a651ceb90e87e19695a640778c..a590c6ac6e0d09d956cef81d456e0867372869d5 100644 (file)
@@ -204,7 +204,7 @@ const scroll_element_into_view = () => {
         if ($comment) {
             window.setTimeout(() => {
                 window.scrollTo(0, $comment.offsetTop - $header.offsetHeight - 20);
-            }, 100);
+            }, 250);
         }
     }
 }