[FIX] website_forum: fixed issue when voting the vote

area was not updated due to typo in JS.
This commit is contained in:
Jaysinh Shukla
2015-03-11 11:27:21 +01:00
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");