restore "copy link" button on reddit embeds
parent
3fe33faf7d
commit
d27fe044bd
|
@ -149,7 +149,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if p.url and p.url.startswith('https://old.reddit.com/r/') %}
|
||||
<iframe id="reddit-embed" src="{{p.url.replace('https://old.reddit.com/', 'https://embed.reddit.com/').split('?')[0]}}?context=1&showtitle=true{% if v.theme in DARK_THEMES %}&theme=dark{% endif %}" height="317px" width="100%"></iframe>
|
||||
<iframe id="reddit-embed" src="{{p.url.replace('https://old.reddit.com/', 'https://embed.reddit.com/').split('?')[0]}}?context=1&showtitle=true{% if v.theme in DARK_THEMES %}&theme=dark{% endif %}" height="317px" width="100%" allow="clipboard-read; clipboard-write"></iframe>
|
||||
<script defer src="{{'js/reddit_embed.js' | asset}}"></script>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue