From cbc887df8d81561fdc9927be4e37f0b6c1174caf Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 13 Oct 2021 19:28:24 +0200 Subject: [PATCH] Feedback on uniqueIpFix. Moves the insertion of the bar | after Unique IPs to be inserted by the thread watcher JS script. see: https://leftypol.org/tech/res/6724.html#11998 --- js/thread-stats.js | 2 +- templates/post_thread.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/thread-stats.js b/js/thread-stats.js index 7fd2ac1f..db804f1f 100644 --- a/js/thread-stats.js +++ b/js/thread-stats.js @@ -22,7 +22,7 @@ $(document).ready(function(){ el.prepend('0 UIDs | '); } el.prepend('0 images | '); - el.prepend('0 replies | '); + el.prepend('| 0 replies | '); delete el; function update_thread_stats(){ var op = $('#thread_'+ thread_id).find('div.post.op:not(.post-hover):not(.inline)').first(); diff --git a/templates/post_thread.html b/templates/post_thread.html index 9df3f2fb..bdb4863e 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -100,7 +100,7 @@ {% endfor %}
{% if not index %} -
Unique IPs: {{ iparray|length }} |
+
Unique IPs: {{ iparray|length }}
{% endif %} {% if hr %}
{% endif %}