mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
user/status: don't touch the other classes
fixes that 2px thing @julianlam
This commit is contained in:
@@ -493,7 +493,10 @@ app.cacheBuster = null;
|
||||
if(err) {
|
||||
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;
|
||||
});
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user