fixes user tooltips on infinit load

This commit is contained in:
Baris Soner Usakli
2014-01-23 21:35:25 -05:00
parent b0ef974590
commit 3793ddc2e8
3 changed files with 4 additions and 1 deletions

View File

@@ -91,6 +91,7 @@ define(function() {
html = $(translatedHTML);
container.append(html);
$('span.timeago').timeago();
app.createUserTooltips();
app.makeNumbersHumanReadable(html.find('.human-readable-number'));
});
}

View File

@@ -1110,6 +1110,7 @@ define(['composer'], function(composer) {
infiniteLoaderActive = false;
app.populateOnlineUsers();
app.createUserTooltips();
app.addCommasToNumbers();
$('span.timeago').timeago();
$('.post-content img').addClass('img-responsive');
@@ -1139,7 +1140,7 @@ define(['composer'], function(composer) {
$('#topic-post-count').html(Topic.postCount);
updateHeader();
}
})
});
}
function loadMorePosts(tid, callback) {

View File

@@ -81,6 +81,7 @@ define(function() {
html = $(translatedHTML);
container.append(html);
$('span.timeago').timeago();
app.createUserTooltips();
app.makeNumbersHumanReadable(html.find('.human-readable-number'));
});
}