diff --git a/files/templates/award_modal.html b/files/templates/award_modal.html
index 83d3a9fad7..6afba9579b 100644
--- a/files/templates/award_modal.html
+++ b/files/templates/award_modal.html
@@ -36,8 +36,8 @@
var upvote = function(event) {
- var type = event.target.dataset.contentType;
- var id = event.target.dataset.idUp;
+ var type = event.target.dataset.bsContentType;
+ var id = event.target.dataset.bsIdUp;
var downvoteButton = document.getElementsByClassName(type + '-' + id + '-down');
var upvoteButton = document.getElementsByClassName(type + '-' + id + '-up');
@@ -86,13 +86,8 @@
var downvote = function(event) {
- var type = event.target.dataset.contentType;
- var id = event.target.dataset.idDown;
- console.log(event)
- console.log(event.target)
- console.log(event.target.dataset)
- console.log(type)
- console.log(id)
+ var type = event.target.dataset.bsContentType;
+ var id = event.target.dataset.bsIdDown;
var downvoteButton = document.getElementsByClassName(type + '-' + id + '-down');
var upvoteButton = document.getElementsByClassName(type + '-' + id + '-up');