diff --git a/backend/postings/templates/postings/frontend/entity.html b/backend/postings/templates/postings/frontend/entity.html index 2545745..1db3136 100644 --- a/backend/postings/templates/postings/frontend/entity.html +++ b/backend/postings/templates/postings/frontend/entity.html @@ -193,5 +193,6 @@ + \ No newline at end of file diff --git a/frontpage/rateables/js/voting.js b/frontpage/rateables/js/voting.js new file mode 100644 index 0000000..f2a3c41 --- /dev/null +++ b/frontpage/rateables/js/voting.js @@ -0,0 +1,10 @@ +$(function() { + $(".vote-up").click(function() { + var review = $(this).attr("data-review-id"); + // Vote up + }); + $(".vote-down").click(function() { + var review = $(this).attr("data-review-id"); + // Vote down + }); +}); \ No newline at end of file