From c9f44b5777f65b6b927fe853799fe072cdebf29b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 28 Nov 2022 06:35:33 +0200 Subject: [PATCH] rename data-click to data-click2 --- files/assets/js/core.js | 2 +- files/classes/submission.py | 2 +- files/templates/admin/alt_votes.html | 2 +- files/templates/admin/alts.html | 4 ++-- files/templates/comments.html | 2 +- files/templates/hats.html | 4 ++-- files/templates/live.html | 4 ++-- files/templates/modals/award.html | 4 ++-- files/templates/post_actions.html | 2 +- files/templates/post_actions_mobile.html | 4 ++-- files/templates/shop.html | 4 ++-- files/templates/userpage/admintools.html | 2 +- files/templates/userpage/followers.html | 2 +- 13 files changed, 19 insertions(+), 19 deletions(-) diff --git a/files/assets/js/core.js b/files/assets/js/core.js index c65401dcb..007ddafd4 100644 --- a/files/assets/js/core.js +++ b/files/assets/js/core.js @@ -342,7 +342,7 @@ function areyousure(t) { else t.innerHTML = t.innerHTML.replace(t.textContent, 'Are you sure?') - t.setAttribute("onclick", t.dataset.click); + t.setAttribute("onclick", t.dataset.click2); if (t.dataset.dismiss) t.setAttribute("data-bs-dismiss", t.dataset.dismiss); diff --git a/files/classes/submission.py b/files/classes/submission.py index c5e463a5b..a2ee2f5cc 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -302,7 +302,7 @@ class Submission(Base): body += " - WINNER!" if not winner and v and v.admin_level >= PERMS['POST_BETS_DISTRIBUTE']: - body += f'''''' + body += f'''''' body += "" else: input_type = 'radio' if o.exclusive else 'checkbox' diff --git a/files/templates/admin/alt_votes.html b/files/templates/admin/alt_votes.html index 8c81e1b35..e73287ab2 100644 --- a/files/templates/admin/alt_votes.html +++ b/files/templates/admin/alt_votes.html @@ -56,7 +56,7 @@

Two accounts controlled by different people should have most uniqueness percentages at or above 70-80%

A sockpuppet account will have its uniqueness percentages significantly lower.

- + {% endif %} {% endif %} {% endif %} diff --git a/files/templates/admin/alts.html b/files/templates/admin/alts.html index b01f443e3..bd12fa58c 100644 --- a/files/templates/admin/alts.html +++ b/files/templates/admin/alts.html @@ -61,8 +61,8 @@
- - + +
{% endif %} diff --git a/files/templates/comments.html b/files/templates/comments.html index 08ba9a19b..5404bc71d 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -646,7 +646,7 @@ {% if not c.ghost %} - + {% endif %} {% endif %} diff --git a/files/templates/hats.html b/files/templates/hats.html index f14dca0a5..b0e561905 100644 --- a/files/templates/hats.html +++ b/files/templates/hats.html @@ -118,10 +118,10 @@ {% if hat.id not in owned_hat_ids and hat.is_purchasable %}
- + {% if FEATURES['MARSEYBUX'] %} - + {% endif %}
{% endif %} diff --git a/files/templates/live.html b/files/templates/live.html index dcd2005fc..71485c267 100644 --- a/files/templates/live.html +++ b/files/templates/live.html @@ -58,7 +58,7 @@
- +
{% endif %} @@ -83,7 +83,7 @@
- +
{% endif %} diff --git a/files/templates/modals/award.html b/files/templates/modals/award.html index a03c5aeaf..9d66e3804 100644 --- a/files/templates/modals/award.html +++ b/files/templates/modals/award.html @@ -32,9 +32,9 @@ - + - + diff --git a/files/templates/post_actions.html b/files/templates/post_actions.html index 93de525a6..6ad239f20 100644 --- a/files/templates/post_actions.html +++ b/files/templates/post_actions.html @@ -15,7 +15,7 @@ {% if v %} - + {% endif %} diff --git a/files/templates/post_actions_mobile.html b/files/templates/post_actions_mobile.html index 59b910ec3..de5a95b62 100644 --- a/files/templates/post_actions_mobile.html +++ b/files/templates/post_actions_mobile.html @@ -20,7 +20,7 @@ {%- endif %} - + @@ -51,7 +51,7 @@ {% else %} {% if not p.ghost %} - + {% endif %} {% endif %} diff --git a/files/templates/shop.html b/files/templates/shop.html index 606e08e09..4b0daf8b6 100644 --- a/files/templates/shop.html +++ b/files/templates/shop.html @@ -94,11 +94,11 @@ {% set kind = a['kind'] %} {% if kind != "benefactor" %} - + {% endif %} {% if FEATURES['MARSEYBUX'] %} {% if kind != "grass" %} - + {% endif %} {% endif %} diff --git a/files/templates/userpage/admintools.html b/files/templates/userpage/admintools.html index 0e21d80fd..0bc7e5c39 100644 --- a/files/templates/userpage/admintools.html +++ b/files/templates/userpage/admintools.html @@ -82,7 +82,7 @@ {% endif %} {% if v.admin_level >= PERMS['ADMIN_ACTIONS_REVERT'] and u.admin_level %} - + {% endif %} {% if v.admin_level >= PERMS['USER_BAN'] %} diff --git a/files/templates/userpage/followers.html b/files/templates/userpage/followers.html index 548a96ce5..1d8239586 100644 --- a/files/templates/userpage/followers.html +++ b/files/templates/userpage/followers.html @@ -18,7 +18,7 @@ {% include "user_in_table.html" %} 1599343262 %}data-time="{{follow.created_utc}}"{% endif %}> {% if v.id == u.id %} -
Remove follow
+
Remove follow
{% endif %} {% endfor %}