mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +01:00
closes #3538
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user