fixes user tooltips on infinit load

v1.18.x
Baris Soner Usakli 11 years ago
parent b0ef974590
commit 3793ddc2e8

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

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

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

Loading…
Cancel
Save