diff --git a/files/assets/js/award_modal.js b/files/assets/js/award_modal.js index b91e4d69c..dae944c93 100644 --- a/files/assets/js/award_modal.js +++ b/files/assets/js/award_modal.js @@ -1,7 +1,3 @@ -document.getElementById('awardModal').addEventListener('show.bs.modal', function (event) { - document.getElementById("awardTarget").action = event.relatedTarget.dataset.url; -}); - // TODO: Refactor this ugly shit who wrote this lmao function vote(type, id, dir) { const upvotes = document.getElementsByClassName(type + '-' + id + '-up'); diff --git a/files/templates/comments.html b/files/templates/comments.html index 56aa56f22..00e113375 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -411,7 +411,7 @@ {% if FEATURES['AWARDS'] -%} - + {%- endif %} @@ -624,7 +624,7 @@ Report {% if FEATURES['AWARDS'] -%} - Give Award + Give Award {%- endif %} Save diff --git a/files/templates/post_actions.html b/files/templates/post_actions.html index 4ada5972d..208c8a119 100644 --- a/files/templates/post_actions.html +++ b/files/templates/post_actions.html @@ -9,7 +9,7 @@ {% if v and ((not p.ghost and v.admin_level >= PERMS['VOTES_VISIBLE']) or v.id == AEVANN_ID) %}Votes{% endif %} {% if v and FEATURES['AWARDS'] %} - Give Award + Give Award {% endif %} Copy link diff --git a/files/templates/post_actions_mobile.html b/files/templates/post_actions_mobile.html index e53da1b77..117c99d85 100644 --- a/files/templates/post_actions_mobile.html +++ b/files/templates/post_actions_mobile.html @@ -13,7 +13,7 @@ {% if FEATURES['AWARDS'] -%} - + {%- endif %} diff --git a/files/templates/util/assetcache.html b/files/templates/util/assetcache.html index e45b1885d..468ae5f25 100644 --- a/files/templates/util/assetcache.html +++ b/files/templates/util/assetcache.html @@ -15,7 +15,7 @@ set CACHE_VER = { 'css/tron.css': 4004, 'css/win98.css': 4004, - 'js/award_modal.js': 4000, + 'js/award_modal.js': 4001, 'js/bootstrap.js': 4002, 'js/category_modal.js': 4000, 'js/comments_admin.js': 4000,