fix: #10302, fix regression

isekai-main
Barış Soner Uşaklı 3 years ago
parent 9205169f00
commit 503e27f709

@ -383,13 +383,13 @@ define('forum/topic/postTools', [
slug = '[[global:guest]]'; slug = '[[global:guest]]';
} }
} }
if (slug && slug !== '[[global:former_user]]' && slug !== '[[global:guest]]') {
slug = '@' + slug;
}
resolve(slug); resolve(slug);
}); });
return; return;
} }
if (post.length && post.attr('data-uid') !== '0') {
slug = '@' + slug;
}
resolve(slug); resolve(slug);
}); });

Loading…
Cancel
Save