Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-06-20 10:45:28 +0300
committerPhil Hughes <me@iamphill.com>2017-06-20 10:45:28 +0300
commitbcc5fc857af318835c923d12f18396261f5065a4 (patch)
tree3f8159fec294042bbc5b09ee295e29bb4257bb86 /spec
parent27664b7d9f18ed4cb6e4f8eba91e81d534df18a2 (diff)
parent19e12aac0217efae6b474d8601928a217064fb21 (diff)
Merge branch '33916-make-note-highlight-toggle-boolean-explcit' into 'master'
Fix note highlight being added when you don't have a URL fragment hash #note_xxx Closes #33916 See merge request !12293
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/notes_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/notes_spec.js b/spec/javascripts/notes_spec.js
index b272f43a166..5ece4ed080b 100644
--- a/spec/javascripts/notes_spec.js
+++ b/spec/javascripts/notes_spec.js
@@ -176,7 +176,7 @@ import '~/notes';
Notes.updateNoteTargetSelector($note);
- expect($note.toggleClass).toHaveBeenCalledWith('target', null);
+ expect($note.toggleClass).toHaveBeenCalledWith('target', false);
});
});