This commit is contained in:
Aevann1 2021-12-10 19:57:53 +02:00
parent 607ca6fcc7
commit 8ce268ebe8
4 changed files with 5 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

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=11"></script>
<script src="/assets/js/twitterlight.js?v=12"></script>
{% else %}
<script src="/assets/js/twitter.js?v=11"></script>
<script src="/assets/js/twitter.js?v=12"></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}}