user/status: don't touch the other classes

fixes that 2px thing @julianlam
v1.18.x
psychobunny 10 years ago
parent b7c8d4e5af
commit b66a58dd52

@ -493,7 +493,10 @@ app.cacheBuster = null;
if(err) { if(err) {
return app.alertError(err.message); return app.alertError(err.message);
} }
$('[component="user/status"]').attr('class', 'fa fa-circle status ' + status); $('[component="user/status"]')
.removeClass('away online dnd offline')
.addClass(status);
app.user.status = status; app.user.status = status;
}); });
e.preventDefault(); e.preventDefault();

Loading…
Cancel
Save