diff --git a/files/assets/js/core.js b/files/assets/js/core.js index 13a3d12b4..886ad8216 100644 --- a/files/assets/js/core.js +++ b/files/assets/js/core.js @@ -224,7 +224,7 @@ function formkey() { else return null; } -function expandDesktopImage(url) { +function expandImage(url) { const e = this.event if(e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) return; @@ -449,7 +449,7 @@ function sort_table(t) { document.addEventListener("click", function(e){ const element = e.target if (element instanceof HTMLImageElement && element.alt.startsWith('![](')) - expandDesktopImage() + expandImage() else if (element.tagName == "TH") sort_table(element) else if (element.classList.contains('giphy')) diff --git a/files/templates/app.html b/files/templates/app.html index 5034ad5e9..d678ec8d5 100644 --- a/files/templates/app.html +++ b/files/templates/app.html @@ -11,9 +11,9 @@ {% endif %}
First step:
- First step + First step
Second step:
- Second step + Second step {% endblock %} diff --git a/files/templates/sidebar_WPD.html b/files/templates/sidebar_WPD.html index b17aeb01c..2e051869c 100644 --- a/files/templates/sidebar_WPD.html +++ b/files/templates/sidebar_WPD.html @@ -8,7 +8,7 @@ {% if request.path != '/sidebar' %} - sidebar image + sidebar image {% endif %} diff --git a/files/templates/sidebar_rDrama.html b/files/templates/sidebar_rDrama.html index 98c73d7c0..677870c5e 100644 --- a/files/templates/sidebar_rDrama.html +++ b/files/templates/sidebar_rDrama.html @@ -11,11 +11,11 @@ {% if request.path != '/sidebar' %} {% if v and (v.is_banned or v.agendaposter) %} - sidebar image + sidebar image {% elif not (sub and sub.name == 'chudrama' and v and not v.can_see_chudrama) %} - sidebar image + sidebar image {% endif %} {% endif %} diff --git a/files/templates/submission.html b/files/templates/submission.html index cbcb95ecc..67df22f4e 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -142,7 +142,7 @@
- Unable to load image + Unable to load image
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index f7560d143..97fce14c1 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -79,7 +79,7 @@ {% elif p.is_image %} - post thumbnail + post thumbnail {% elif p.is_video or p.is_audio %} diff --git a/files/templates/userpage/banner.html b/files/templates/userpage/banner.html index f9fb8a8d2..eaee2ee89 100644 --- a/files/templates/userpage/banner.html +++ b/files/templates/userpage/banner.html @@ -11,9 +11,9 @@
- + {% if u.hat_active(v)[0] -%} - + {%- endif %}
@@ -261,7 +261,7 @@
@@ -269,9 +269,9 @@
diff --git a/files/templates/util/macros.html b/files/templates/util/macros.html index 9140b32cc..5a9099d77 100644 --- a/files/templates/util/macros.html +++ b/files/templates/util/macros.html @@ -6,7 +6,7 @@ {%- macro banner(src, href, alt, expand, class) %} - {{alt|default('site banner')}} + {{alt|default('site banner')}} {% endmacro -%}