|
|
@ -30,7 +30,7 @@ define('forum/header', [
|
|
|
|
.removeClass('away online dnd offline')
|
|
|
|
.removeClass('away online dnd offline')
|
|
|
|
.addClass(status);
|
|
|
|
.addClass(status);
|
|
|
|
$('[component="header/usercontrol"] [data-status]').each(function () {
|
|
|
|
$('[component="header/usercontrol"] [data-status]').each(function () {
|
|
|
|
$(this).find('span').toggleClass('fw-bold', $(this).attr('data-status') === status);
|
|
|
|
$(this).toggleClass('selected', $(this).attr('data-status') === status);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
app.user.status = status;
|
|
|
|
app.user.status = status;
|
|
|
|
});
|
|
|
|
});
|
|
|
|