Skip to content

Node.js based forum software built for the modern web

fixes user tooltips on infinit load

Baris Soner Usakli3793ddc2e879
diff --git a/public/src/forum/recent.js b/public/src/forum/recent.js
index 24ad184a6b..8e0eaeb293 100644
--- a/public/src/forum/recent.js
+++ b/public/src/forum/recent.js
@@ -91,6 +91,7 @@ define(function() {
html = $(translatedHTML);
container.append(html);
$('span.timeago').timeago();
+ app.createUserTooltips();
app.makeNumbersHumanReadable(html.find('.human-readable-number'));
});
}
diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js
index 5b4e10408c..a48d8c82cf 100644
--- a/public/src/forum/topic.js
+++ b/public/src/forum/topic.js
@@ -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) {
diff --git a/public/src/forum/unread.js b/public/src/forum/unread.js
index 9ceb522f87..abd19067de 100644
--- a/public/src/forum/unread.js
+++ b/public/src/forum/unread.js
@@ -81,6 +81,7 @@ define(function() {
html = $(translatedHTML);
container.append(html);
$('span.timeago').timeago();
+ app.createUserTooltips();
app.makeNumbersHumanReadable(html.find('.human-readable-number'));
});
}