Fix more things

This commit is contained in:
calzoneman 2014-01-07 22:47:00 -06:00
parent 1aa464caa5
commit 22c4e8f9ff
5 changed files with 122 additions and 54 deletions

View file

@ -110,6 +110,15 @@ function formatUserlistItem(div) {
.appendTo(profile);
}
$("<strong/>").text(data.name).appendTo(profile);
var meta = div.data("meta") || {};
if (meta.ip) {
$("<br/>").appendTo(profile);
$("<em/>").text(meta.ip).appendTo(profile);
}
if (meta.aliases) {
$("<p/>").text("aliases: " + meta.aliases.join(", ")).appendTo(profile);
}
$("<p/>").text(data.profile.text).appendTo(profile);
});
name.mousemove(function(ev) {
@ -555,7 +564,7 @@ function showUserOptions() {
$("#us-chat-notice").prop("checked", USEROPTS.blink_title);
$("#us-boop").prop("checked", USEROPTS.boop);
$("#us-sendbtn").prop("checked", USEROPTS.chatbtn);
$("#us-modflair").prop("checked", USEROPTS.modhat);
$("#us-joinmessage").prop("checked", USEROPTS.joinmessage);