mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: #10302, fix regression
This commit is contained in:
@@ -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);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user