From 59e0beebb2feb6c8c3f8f06f0ffad270f95f18ba Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 11 Dec 2022 21:19:10 +0200 Subject: [PATCH] minor change --- 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 b5c0813b0..dd4c6a865 100644 --- a/files/assets/js/core.js +++ b/files/assets/js/core.js @@ -336,7 +336,7 @@ function areyousure(t) { else t.innerHTML = t.innerHTML.replace(t.textContent, 'Are you sure?') - t.setAttribute("onclick", t.dataset.click2); + t.setAttribute("onclick", t.dataset.click); 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 8a39721b0..d21933de0 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -297,7 +297,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 e73287ab2..8c81e1b35 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 bd12fa58c..b01f443e3 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 118a6420f..77179039b 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -612,7 +612,7 @@ {% if not c.ghost %} - + {% endif %} {% endif %} diff --git a/files/templates/hats.html b/files/templates/hats.html index ca1f24f3d..beee5ab55 100644 --- a/files/templates/hats.html +++ b/files/templates/hats.html @@ -109,10 +109,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 71485c267..dcd2005fc 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 ee82f18d3..5c67e8fce 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 b8f56602b..16cf96aae 100644 --- a/files/templates/post_actions.html +++ b/files/templates/post_actions.html @@ -15,7 +15,7 @@ {% if v %} - + diff --git a/files/templates/post_actions_mobile.html b/files/templates/post_actions_mobile.html index 467ae22c7..9d7dabb14 100644 --- a/files/templates/post_actions_mobile.html +++ b/files/templates/post_actions_mobile.html @@ -20,7 +20,7 @@ {%- endif %} - + @@ -45,7 +45,7 @@ {% else %} {% if not p.ghost %} - + {% endif %} {% endif %} diff --git a/files/templates/shop.html b/files/templates/shop.html index b6c98e509..2249b580f 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 b4e102b1c..ebd758c9b 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 1d8239586..548a96ce5 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 %}