Skip to content

Node.js based forum software built for the modern web

fix postcount

barisusakli2f5eb248eb16
diff --git a/public/src/client/topic.js b/public/src/client/topic.js
index 8cb7f493ad..eb235b2488 100644
--- a/public/src/client/topic.js
+++ b/public/src/client/topic.js
@@ -277,7 +277,7 @@ define('forum/topic', [
var bookmarkKey = 'topic:' + ajaxify.data.tid + ':bookmark';
var currentBookmark = ajaxify.data.bookmark || localStorage.getItem(bookmarkKey);
- if (ajaxify.data.postCount > 5 && (!currentBookmark || parseInt(index, 10) > parseInt(currentBookmark, 10))) {
+ if (ajaxify.data.postcount > 5 && (!currentBookmark || parseInt(index, 10) > parseInt(currentBookmark, 10))) {
if (app.user.uid) {
socket.emit('topics.bookmark', {
'tid': ajaxify.data.tid,