mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
replaceSelfLinks on new posts and reload
This commit is contained in:
@@ -108,7 +108,7 @@ var socket,
|
||||
templates.setGlobal('loggedIn', parseInt(data.uid, 10) !== 0);
|
||||
|
||||
app.showLoginMessage();
|
||||
|
||||
app.replaceSelfLinks();
|
||||
$(window).trigger('action:connected');
|
||||
});
|
||||
|
||||
|
||||
@@ -380,6 +380,7 @@ define('forum/topic', ['forum/pagination', 'forum/infinitescroll', 'forum/topic/
|
||||
|
||||
app.populateOnlineUsers();
|
||||
app.createUserTooltips();
|
||||
app.replaceSelfLinks(html.find('a'));
|
||||
utils.addCommasToNumbers(html.find('.formatted-number'));
|
||||
utils.makeNumbersHumanReadable(html.find('.human-readable-number'));
|
||||
html.find('span.timeago').timeago();
|
||||
|
||||
Reference in New Issue
Block a user