Node.js based forum software built for the modern web
closes #3538
barisusakli0ffb81308e2e
diff --git a/public/src/client/topic.js b/public/src/client/topic.jsindex bfbd984549..12363e08bf 100644--- a/public/src/client/topic.js+++ b/public/src/client/topic.js@@ -152,8 +152,8 @@ define('forum/topic', [return 0;}- while (lastPart > 0 && !components.get('post/anchor', lastPart).length) {- lastPart --;+ if (lastPart > 0 && !components.get('post/anchor', lastPart).length) {+ return components.get('post/anchor').last().attr('name');}return lastPart;