fix: #10302, fix regression

This commit is contained in:
Barış Soner Uşaklı
2022-02-16 11:37:50 -05:00
parent 9205169f00
commit 503e27f709

View File

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