v1.18.x
barisusakli 10 years ago
parent ffff8093ba
commit 0ffb81308e

@ -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;

Loading…
Cancel
Save