Node.js based forum software built for the modern web
component="header/usercontrol"; also fixes user status bug
psychobunny2301362f59bd
diff --git a/public/src/app.js b/public/src/app.jsindex 8aeb81ea17..8ecc3659ae 100644--- a/public/src/app.js+++ b/public/src/app.js@@ -487,13 +487,13 @@ app.cacheBuster = null;};function handleStatusChange() {- $('#user-control-list .user-status').off('click').on('click', function(e) {+ $('[component="header/usercontrol"] [data-status]').off('click').on('click', function(e) {var status = $(this).attr('data-status');socket.emit('user.setStatus', status, function(err, data) {if(err) {return app.alertError(err.message);}- $('#logged-in-menu #user_label #user-profile-link>i').attr('class', 'fa fa-circle status ' + status);+ $('[component="user/status"]').attr('class', 'fa fa-circle status ' + status);app.user.status = status;});e.preventDefault();