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);
container.append(html);
$('span.timeago').timeago();
app.createUserTooltips();
app.makeNumbersHumanReadable(html.find('.human-readable-number'));
});
}

@ -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) {

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

Loading…
Cancel
Save