WIP user-icons

This commit is contained in:
Julian Lam
2015-09-27 12:57:21 -04:00
parent 839edc80b1
commit f6d5b52a8b
21 changed files with 112 additions and 46 deletions

View File

@@ -138,7 +138,9 @@ app.cacheBuster = null;
username: app.user.username,
userslug: app.user.userslug,
picture: app.user.picture,
status: app.user.status
status: app.user.status,
'icon:bgColor': app.user['icon:bgColor'],
'icon:text': app.user['icon:text']
}, function(err) {
if (err) {
app.alertError(err.message);
@@ -158,7 +160,7 @@ app.cacheBuster = null;
}
app.createUserTooltips = function() {
$('img[title].teaser-pic,img[title].user-img').each(function() {
$('img[title].teaser-pic,img[title].user-img,div.user-icon').each(function() {
$(this).tooltip({
placement: 'top',
title: $(this).attr('title')