forked from MarseyWorld/MarseyWorld
fix
parent
b3f1bfd5c7
commit
e02f8c3afa
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue