Fix name update on Firefox

This commit is contained in:
calzoneman 2013-03-17 11:50:39 -05:00
parent 91224f8e4b
commit 8fdf3f7cd7

View file

@ -211,7 +211,7 @@ function initCallbacks() {
} }
var users = $('#userlist').children(); var users = $('#userlist').children();
for(var i = 0; i < users.length; i++) { for(var i = 0; i < users.length; i++) {
var name = users[i].children[1].innerText; var name = users[i].children[1].innerHTML;
// Reformat user // Reformat user
if(name == data.name) { if(name == data.name) {
fmtUserlistItem(users[i], data.rank, data.leader); fmtUserlistItem(users[i], data.rank, data.leader);