From be31cc299accac150968964274d2d121762994f7 Mon Sep 17 00:00:00 2001 From: Jaysinh Shukla Date: Wed, 31 Dec 2014 14:45:27 +0530 Subject: [PATCH] [FIX] website_forum: fixed issue when voting the vote area was not updated due to typo in JS. --- addons/website_forum/static/src/js/website_forum.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_forum/static/src/js/website_forum.js b/addons/website_forum/static/src/js/website_forum.js index bff99a75ac3..5bbd3c18b1f 100644 --- a/addons/website_forum/static/src/js/website_forum.js +++ b/addons/website_forum/static/src/js/website_forum.js @@ -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");