Fix vote counting to only count main target notes (not mixed in ones)
This commit is contained in:
parent
3f72af9994
commit
fb0279f311
3 changed files with 15 additions and 16 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue