[FIX] website_forum: fixed issue when voting the vote
area was not updated due to typo in JS.
This commit is contained in:
committed by
Thibault Delavallée
parent
648a558dd7
commit
be31cc299a
@@ -37,7 +37,7 @@
|
||||
$link.parent().append($warning);
|
||||
}
|
||||
} else {
|
||||
$link.parent().find("#vote_count").html(data['vote_count']);
|
||||
$link.parent().find(".vote_count").html(data['vote_count']);
|
||||
if (data['user_vote'] == 0) {
|
||||
$link.parent().find(".text-success").removeClass("text-success");
|
||||
$link.parent().find(".text-warning").removeClass("text-warning");
|
||||
|
||||
Reference in New Issue
Block a user