summaryrefslogtreecommitdiff
path: root/spec/javascripts/issue_spec.js
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-01 08:41:31 +0100
committerPhil Hughes <me@iamphill.com>2017-09-06 14:54:17 +0100
commitc56100b3ec26a0f5d71bb80f94c661674b3226b8 (patch)
tree37a6d9d31b278550cc6b6d948ad5629db9dffc17 /spec/javascripts/issue_spec.js
parent5d2b7aa200e0ce5a66672259d468be4ccc5f9124 (diff)
downloadgitlab-ce-c56100b3ec26a0f5d71bb80f94c661674b3226b8.tar.gz
Add top level items to fly-out navigation
This only appears when in the collapsed sidebar. If the sidebar is expanded, then these items are hidden & no fly-out navigation is displayed. Closes #36294
Diffstat (limited to 'spec/javascripts/issue_spec.js')
-rw-r--r--spec/javascripts/issue_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/issue_spec.js b/spec/javascripts/issue_spec.js
index 0c8c4d2cea6..60a452f2223 100644
--- a/spec/javascripts/issue_spec.js
+++ b/spec/javascripts/issue_spec.js
@@ -118,7 +118,7 @@ describe('Issue', function() {
this.$triggeredButton = $btn;
- this.$projectIssuesCounter = $('.issue_counter');
+ this.$projectIssuesCounter = $('.issue_counter').first();
this.$projectIssuesCounter.text('1,001');
this.issueStateDeferred = new jQuery.Deferred();