Merge pull request #274 from 0ip/patch-4

Fix for 'Fix IE8 userpicker color issue' :)
pull/248/merge
John McLear 2011-12-06 09:51:15 -08:00
commit 3bce184189
1 changed files with 8 additions and 1 deletions

View File

@ -711,7 +711,14 @@ var paduserlist = (function()
} }
$("#myswatch").css({'background-color': myUserInfo.colorId}); $("#myswatch").css({'background-color': myUserInfo.colorId});
$("#usericon").css({'box-shadow': 'inset 0 0 30px ' + myUserInfo.colorId,'background-color': myUserInfo.colorId});
if ($.browser.msie && parseInt($.browser.version) <= 8) {
$("#usericon").css({'box-shadow': 'inset 0 0 30px ' + myUserInfo.colorId,'background-color': myUserInfo.colorId});
}
else
{
$("#usericon").css({'box-shadow': 'inset 0 0 30px ' + myUserInfo.colorId});
}
} }
}; };
return self; return self;