Less code is better code

Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: yubiuser <ckoenig@posteo.de>
This commit is contained in:
yubiuser
2023-11-22 22:03:43 +01:00
committed by GitHub
parent 43200d2de8
commit e7be61b9e2

View File

@@ -88,13 +88,8 @@ $(function () {
$("td:eq(9)", row).html(button);
if (data.current_session) {
ownSessionID = data.id;
$("td", row).each(function () {
$(this).addClass("text-bold");
$(this).attr(
"title",
"This is the session you are currently using for the web interface"
);
});
$(row).addClass("text-bold");
$(row).attr("title", "This is the session you are currently using for the web interface");
}
let icon = "";