replaceSelfLinks on new posts and reload

This commit is contained in:
barisusakli
2014-06-24 09:29:12 -04:00
parent e6d8e9c959
commit 836540ff78
2 changed files with 2 additions and 1 deletions

View File

@@ -108,7 +108,7 @@ var socket,
templates.setGlobal('loggedIn', parseInt(data.uid, 10) !== 0);
app.showLoginMessage();
app.replaceSelfLinks();
$(window).trigger('action:connected');
});

View File

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