summaryrefslogtreecommitdiff
path: root/post_reply.html
diff options
context:
space:
mode:
authorccd0 <admin@containerchan.org>2014-02-22 17:27:05 -0800
committerccd0 <admin@containerchan.org>2014-02-22 17:27:05 -0800
commited10ad44e3874bff8ca6a418de8637a04c29cd03 (patch)
tree156a1213274e36b3d8b48d0062b95629dcdf6e53 /post_reply.html
parent88c5b1f6cf1bf226b5f4d6f4406252f5d1a5eb01 (diff)
update to Tinyboard v0.9.6-dev-22
Diffstat (limited to 'post_reply.html')
-rw-r--r--post_reply.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/post_reply.html b/post_reply.html
index 9b10a8f4..82758279 100644
--- a/post_reply.html
+++ b/post_reply.html
@@ -38,16 +38,8 @@
{% if config.poster_ids %}
ID: {{ post.ip|poster_id(post.thread) }}
{% endif %}
- <a class="post_no" {% if not index %}onclick="highlightReply({{ post.id }})" {% endif %}href="{{ post.link }}">No.</a>
- <a class="post_no"
- {% if not index %}
- onclick="citeReply({{ post.id }});"
- {% endif %}
- href="{% if index %}
- {{ post.link('q') }}
- {% else %}
- javascript:void(0);
- {% endif %}">
+ <a class="post_no" onclick="return document.querySelectorAll('div.banner').length ? highlightReply({{ post.id }}) : true;" href="{{ post.link }}">No.</a>
+ <a class="post_no" onclick="return document.querySelectorAll('div.banner').length ? citeReply({{ post.id }}) : true;" href="{{ post.link('q') }}">
{{ post.id }}
</a>
</p>