master
kek7198 2021-12-10 14:27:51 -06:00
parent b3f1bfd5c7
commit e02f8c3afa
1 changed files with 2 additions and 2 deletions

View File

@ -459,9 +459,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=1"></script>
<script src="/assets/js/twitterlight.js?v=13"></script>
{% else %}
<script src="/assets/js/twitter.js?v=2"></script>
<script src="/assets/js/twitter.js?v=13"></script>
{% endif %}
<script>document.getElementById('twitter-widget-0').setAttribute('sandbox','')</script>
{% elif "youtu" in p.domain %}