diff --git a/boards/static/js/thread_update.js b/boards/static/js/thread_update.js --- a/boards/static/js/thread_update.js +++ b/boards/static/js/thread_update.js @@ -119,7 +119,7 @@ function initAutoupdate() { } function getReplyCount() { - return $('.thread').children('.post').length - 1 + return $('.thread').children('.post').length } function getImageCount() { diff --git a/boards/templates/boards/thread.html b/boards/templates/boards/thread.html --- a/boards/templates/boards/thread.html +++ b/boards/templates/boards/thread.html @@ -95,7 +95,7 @@
{% csrf_token %}
-
{% trans "Reply to thread" %} #{{ posts.0.id }}
+
{% trans "Reply to thread" %} #{{ thread.get_opening_post.id }}
{% trans 'Title' %}