user/status: don't touch the other classes

fixes that 2px thing @julianlam
This commit is contained in:
psychobunny
2015-08-27 14:07:24 -04:00
parent b7c8d4e5af
commit b66a58dd52

View File

@@ -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();