summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2018-02-12 19:30:03 -0600
committerEric Eastwood <contact@ericeastwood.com>2018-02-12 19:30:03 -0600
commit27e215e8a6da3413588066f73a9a3d382d35c3e5 (patch)
treeed0102e7b9798d6f161f9dfcc6557263130a7791
parentee8e5a596c3d4e18a227185965b52baf6f66c5db (diff)
downloadgitlab-ce-43198-fix-settings-panel-expanding-when-fragment-hash-linked.tar.gz
Fix settings panel not expanding when fragment hash linked43198-fix-settings-panel-expanding-when-fragment-hash-linked
See https://gitlab.com/gitlab-org/gitlab-ce/issues/43198
-rw-r--r--app/assets/javascripts/settings_panels.js2
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);
}
}