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
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-10-10 14:09:45 +0400
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-10-10 14:09:45 +0400
commitfb0279f3113f58b1cbdbe04acabe874ac4d231f9 (patch)
tree0638ecc05519895cb35eddfdeaef9a99f61378d8 /app/assets
parent3f72af9994554c66a51cdfb4302e48da0edd043a (diff)
Fix vote counting to only count main target notes (not mixed in ones)
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/notes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js
index e1ad1d2f9e8..558643d504d 100644
--- a/app/assets/javascripts/notes.js
+++ b/app/assets/javascripts/notes.js
@@ -230,7 +230,7 @@ var NoteList = {
updateVotes:
function() {
var votes = $("#votes .votes");
- var notes = $("#notes-list, #new-notes-list").find(".note.vote");
+ var notes = $("#notes-list, #new-notes-list").find(".note .vote");
// only update if there is a vote display
if (votes.size()) {