From 6b89884dd5a92cca10776816de8d2d7fea5755d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 24 Mar 2023 11:53:20 -0400 Subject: [PATCH] use selected class for user status elements --- public/src/client/header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/header.js b/public/src/client/header.js index 3abed7e824..f0ef69cf42 100644 --- a/public/src/client/header.js +++ b/public/src/client/header.js @@ -30,7 +30,7 @@ define('forum/header', [ .removeClass('away online dnd offline') .addClass(status); $('[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; });