This commit is contained in:
Aevann1 2021-12-09 22:37:36 +02:00
parent 26859c0981
commit 6ce8dc5246
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=7"></script>
<script src="/assets/js/twitterlight.js?v=8"></script>
{% else %}
<script src="/assets/js/twitter.js?v=7"></script>
<script src="/assets/js/twitter.js?v=8"></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}}