diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2018-02-12 19:30:03 -0600 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2018-02-13 10:36:47 -0600 |
commit | 37d3d07b9ffd59f6e214c13247c4b95be9816c78 (patch) | |
tree | a2b211c49ed73d602f920c324b54954e46e8959f /app | |
parent | ee8e5a596c3d4e18a227185965b52baf6f66c5db (diff) | |
download | gitlab-ce-37d3d07b9ffd59f6e214c13247c4b95be9816c78.tar.gz |
Fix settings panel not expanding when fragment hash linked
See https://gitlab.com/gitlab-org/gitlab-ce/issues/43198
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/settings_panels.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/settings_panels.js b/app/assets/javascripts/settings_panels.js index d34a21b37e1..d0e4f533d8a 100644 --- a/app/assets/javascripts/settings_panels.js +++ b/app/assets/javascripts/settings_panels.js @@ -42,7 +42,7 @@ export default function initSettingsPanels() { if (location.hash) { const $target = $(location.hash); - if ($target.length && $target.hasClass('.settings')) { + if ($target.length && $target.hasClass('settings')) { expandSection($target); } } |