mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 09:55:47 +01:00
fixes user tooltips on infinit load
This commit is contained in:
@@ -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'));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user