This commit is contained in:
barisusakli
2015-10-04 01:13:47 -04:00
parent 3be3ed4eb5
commit 0b26cfdd43
2 changed files with 7 additions and 6 deletions

View File

@@ -157,8 +157,9 @@ app.cacheBuster = null;
}
}
app.createUserTooltips = function() {
$('img[title].teaser-pic,img[title].user-img').each(function() {
app.createUserTooltips = function(els) {
els = els || $('body');
els.find('img[title].teaser-pic,img[title].user-img').each(function() {
$(this).tooltip({
placement: 'top',
title: $(this).attr('title')