summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2017-12-21 03:38:01 +0100
committerDylan William Hardison <dylan@hardison.net>2017-12-21 03:38:01 +0100
commit484182135092c4c01a8db6f5c44e1afa89b540d7 (patch)
tree00a967c90818e90c23dac8dc338bb0bcab806088
parentab88daa3a716f3c972346252fae26e30b113de3e (diff)
downloadbugzilla-484182135092c4c01a8db6f5c44e1afa89b540d7.tar.gz
bugzilla-484182135092c4c01a8db6f5c44e1afa89b540d7.tar.xz
Bug 905763 follow-up - Make sure focused comment will always be displayed under global header
-rw-r--r--js/global.js2
1 files changed, 1 insertions, 1 deletions
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);
}
}
}