From 8d90d5092942badbeb8f633604675a4ba1cad02a Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Tue, 16 Jan 2024 15:51:33 +0300 Subject: fix typo error --- gn2/wqflask/templates/gnqa_answer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn2/wqflask') diff --git a/gn2/wqflask/templates/gnqa_answer.html b/gn2/wqflask/templates/gnqa_answer.html index 7d313eb6..597ed78b 100644 --- a/gn2/wqflask/templates/gnqa_answer.html +++ b/gn2/wqflask/templates/gnqa_answer.html @@ -145,7 +145,7 @@ if(likeBtn.hasClass("blue")){ likeBtn.removeClass("blue") } dislikeBtn.toggleClass("red") - likeBtn.hasClass("red") ? voteRequest(GN_SERVER_URL,item.data("taskId"),item.data("docId"),-1):0 + dislikeBtn.hasClass("red") ? voteRequest(GN_SERVER_URL,item.data("taskId"),item.data("docId"),-1):0 }) }) }) -- cgit v1.2.3