diff options
author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-10 14:09:45 +0400 |
---|---|---|
committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-10 14:09:45 +0400 |
commit | fb0279f3113f58b1cbdbe04acabe874ac4d231f9 (patch) | |
tree | 0638ecc05519895cb35eddfdeaef9a99f61378d8 /app/assets | |
parent | 3f72af9994554c66a51cdfb4302e48da0edd043a (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.js | 2 |
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()) { |