show no replies in recent and unread

This commit is contained in:
Baris Soner Usakli
2013-11-24 22:48:58 -05:00
parent 48835d8c44
commit ff50917c29
5 changed files with 23 additions and 5 deletions

View File

@@ -288,6 +288,15 @@ var socket,
}
}
app.createUserTooltips = function() {
$('img[title].teaser-pic,img[title].user-img').each(function() {
$(this).tooltip({
placement: 'top',
title: $(this).attr('title')
});
});
}
app.processPage = function () {
app.populateOnlineUsers();
@@ -296,6 +305,8 @@ var socket,
$('span.timeago').timeago();
$('.post-content img').addClass('img-responsive');
app.createUserTooltips();
setTimeout(function () {
window.scrollTo(0, 1); // rehide address bar on mobile after page load completes.
}, 100);