master
Aevann1 2021-11-30 20:20:56 +02:00
parent aadbc99063
commit f424b52671
5 changed files with 6 additions and 10 deletions

View File

@ -23,7 +23,6 @@
}
</style>
{% include "expanded_image_modal.html" %}
{% macro single_comment(c, level=1) %}
@ -817,6 +816,8 @@ window.addEventListener('DOMContentLoaded', function() {
});
</script>
{% include "expanded_image_modal.html" %}
<script>
window.addEventListener('DOMContentLoaded', function() {

View File

@ -1,13 +1,9 @@
<script>
window.addEventListener('DOMContentLoaded', function() {
function expandDesktopImage(image) {
document.getElementById("desktop-expanded-image").src = image.replace("200w_d.webp", "giphy.webp");
document.getElementById("desktop-expanded-image-link").href = image;
document.getElementById("desktop-expanded-image-wrap-link").href=image;
};
});
</script>

View File

@ -1,6 +1,5 @@
{% extends "default.html" %}
{% block title %}
{% include "expanded_image_modal.html" %}
<title>{{'SITE_NAME' | app_config}} - Formatting</title>
<meta name="description" content="{{'SITE_NAME' | app_config}} Formatting">
{% endblock %}
@ -529,6 +528,8 @@ line breaks
</tbody>
</table>
{% include "expanded_image_modal.html" %}
<style>
@media (max-width: 767.98px) {
table {

View File

@ -15,8 +15,6 @@
<script defer src="/assets/js/new_comments_count.js?v=53"></script>
{% include "expanded_image_modal.html" %}
{% if p.award_count("train") %}
<style>
@keyframes train {
@ -913,6 +911,7 @@ window.addEventListener('DOMContentLoaded', function() {
{% include "ban_modal.html" %}
{% endif %}
{% endif %}
{% include "expanded_image_modal.html" %}
{% endif %}
{% if p.award_count("shit") %}

View File

@ -4,8 +4,6 @@
{% set cc='COUNTRY CLUB' %}
{% endif %}
{% include "expanded_image_modal.html" %}
<script defer src="/assets/js/new_comments_count.js?v=53"></script>
{% for p in listing %}
@ -580,6 +578,7 @@ window.addEventListener('DOMContentLoaded', function() {
{% include "ban_modal.html" %}
{% endif %}
{% endif %}
{% include "expanded_image_modal.html" %}
<style>
.popover {