forked from MarseyWorld/MarseyWorld
fdfd
parent
ab3e044e8d
commit
5d8ad3ba00
|
@ -425,7 +425,7 @@
|
|||
{% if v and c.id in v.saved_comment_idlist() %}
|
||||
<li class="list-group-item"><a href="javascript:void(0)" onclick="post('/unsave_comment/{{c.id}}', function(){window.location.reload(true);})"><i class="fas fa-save"></i>Unsave</a></li>
|
||||
{% else %}
|
||||
<li class="list-group-item"><a href="javascript:void(0)" onclick="post('/save_comment/{{c.id}}', function(){window.location.reload(true);})"><i class="fas fa-save"></i>Save</a></li>
|
||||
<li class="list-group-item"><a href="javascript:void(0)" data-dismiss="modal" onclick="post('/save_comment/{{c.id}}')"><i class="fas fa-save"></i>Save</a></li>
|
||||
{% endif %}
|
||||
|
||||
<li class="list-group-item"><a href="javascript:void(0);" role="button" class="d-block copy-link" data-dismiss="modal" data-clipboard-text="{% if 'rdrama' in request.host %}http://drama2.github.io/?c={{c.id}}{% else %}{{c.permalink | full_link}}{% endif %}"><i class="fas fa-copy"></i><span>Copy link</span></a></li>
|
||||
|
|
|
@ -318,7 +318,7 @@
|
|||
|
||||
{% if p.domain == "twitter.com" and (v and v.theme.split("_")[0] in ["light", "coffee", "4chan"]) %}
|
||||
{% include "embeds/twitterlight.html" %}
|
||||
{% elif "twitter.com" in p.domain and "/search?q=" not in p.url %}
|
||||
{% elif "twitter.com" in p.domain and "/search?q=" not in p.url and "/i/events/" not in p.url %}
|
||||
{% include "embeds/twitter.html" %}
|
||||
{% elif "youtu" in p.domain %}
|
||||
{% include "embeds/youtube.html" %}
|
||||
|
|
Loading…
Reference in New Issue