diff options
author | Kohei Yoshino <kohei.yoshino@gmail.com> | 2018-06-04 22:54:24 +0200 |
---|---|---|
committer | dklawren <dklawren@users.noreply.github.com> | 2018-06-04 22:54:24 +0200 |
commit | cb7ced68adc539b928198c92df21e30e51f41518 (patch) | |
tree | 26298d91c0fa3eb4794dc4a3e98dfc2b5f1ffea7 /js | |
parent | 4c427904c8b0f654954f0f76c7c2c8401a48d088 (diff) | |
download | bugzilla-cb7ced68adc539b928198c92df21e30e51f41518.tar.gz bugzilla-cb7ced68adc539b928198c92df21e30e51f41518.tar.xz |
no bug - Fix SyntaxError in global.js
Diffstat (limited to 'js')
-rw-r--r-- | js/global.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/global.js b/js/global.js index 68aceb03f..d0396d6a8 100644 --- a/js/global.js +++ b/js/global.js @@ -219,7 +219,7 @@ const detect_blocked_gravatars = () => { */ const adjust_scroll_onload = () => { if (location.hash) { - const $target = document.querySelector(location.hash); + const $target = document.querySelector(CSS.escape(location.hash)); if ($target) { window.setTimeout(() => scroll_element_into_view($target), 50); |