mirror of https://github.com/spikecodes/libreddit
popup now shows when clicking reddit button in post
This commit is contained in:
parent
ef9d7b9c84
commit
a943ce06e6
|
@ -121,7 +121,12 @@
|
||||||
<div class="post_footer">
|
<div class="post_footer">
|
||||||
<ul id="post_links">
|
<ul id="post_links">
|
||||||
<li><a href="{{ post.permalink }}">permalink</a></li>
|
<li><a href="{{ post.permalink }}">permalink</a></li>
|
||||||
<li><a href="https://reddit.com{{ post.permalink }}" rel="nofollow">reddit</a></li>
|
<li>
|
||||||
|
<a id="reddit_link" {% if prefs.visit_reddit_confirmation != "on" %}href="#popup"{% else %}href="https://reddit.com{{ post.permalink }}" rel="nofollow"{{ url }}"{% endif %}>reddit</a>
|
||||||
|
{% if prefs.visit_reddit_confirmation != "on" %}
|
||||||
|
{% call utils::visit_reddit_confirmation(post.permalink) %}
|
||||||
|
{% endif %}
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>{{ post.upvote_ratio }}% Upvoted</p>
|
<p>{{ post.upvote_ratio }}% Upvoted</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue