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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (lastPart > 0 && !components.get('post/anchor', lastPart).length) {
|
if (lastPart > 0 && !components.get('post/anchor', lastPart).length) {
|
||||||
lastPart --;
|
return components.get('post/anchor').last().attr('name');
|
||||||
}
|
}
|
||||||
|
|
||||||
return lastPart;
|
return lastPart;
|
||||||
|
|||||||
Reference in New Issue
Block a user