This commit is contained in:
Aevann1 2021-12-10 20:08:55 +02:00
parent 8ce268ebe8
commit 3b4feeaeb2
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -417,9 +417,9 @@
{% if p.domain == "twitter.com" %}
{{p.embed_url | safe}}
{% if v and v.theme.split("_")[0] in ["light", "coffee", "4chan"] %}
<script src="/assets/js/twitterlight.js?v=12"></script>
<script src="/assets/js/twitterlight.js?v=13"></script>
{% else %}
<script src="/assets/js/twitter.js?v=12"></script>
<script src="/assets/js/twitter.js?v=13"></script>
{% endif %}
{% elif p.domain in ['youtu.be','youtube.com'] and p.embed_url and p.embed_url.startswith('<lite-youtube') %}
{{p.embed_url | safe}}