summaryrefslogtreecommitdiff
path: root/static/website/templates
diff options
context:
space:
mode:
authorholyantony2015-07-15 11:05:01 +0530
committerholyantony2015-07-15 11:05:01 +0530
commit36867a956a4c8ccc80df53576d7d9ab21bf734f5 (patch)
tree55bec01cb1c1816f3003d2bc3b0b08688651c215 /static/website/templates
parent8346482d47f98be745466087b0bd5dc954f46cf4 (diff)
downloadFOSSEE-Forum-36867a956a4c8ccc80df53576d7d9ab21bf734f5.tar.gz
FOSSEE-Forum-36867a956a4c8ccc80df53576d7d9ab21bf734f5.tar.bz2
FOSSEE-Forum-36867a956a4c8ccc80df53576d7d9ab21bf734f5.zip
Subject:Vote Validation for answers
Description: 1. User cannot vote his/her answer
Diffstat (limited to 'static/website/templates')
-rw-r--r--static/website/templates/get-question.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/website/templates/get-question.html b/static/website/templates/get-question.html
index 2c21c10..5b85866 100644
--- a/static/website/templates/get-question.html
+++ b/static/website/templates/get-question.html
@@ -373,6 +373,7 @@
$('div.ans-vote img.ans-vote-up').click(function(event) {
var id = event.target.id;
+
var vote_type = 'up';
if ($('img#'+id).hasClass('selected')) {