Server: Underline current item

This commit is contained in:
Gregory Soutade 2022-01-23 09:48:18 +01:00
parent daa7c3b44c
commit 2def010612

View File

@ -100,12 +100,14 @@ else
{ {
elem.style.display = "block"; elem.style.display = "block";
divFrom.style['font-weight'] = "bold"; divFrom.style['font-weight'] = "bold";
divFrom.style['text-decoration'] = "underline";
} }
function disableMenu(elem, divFrom) function disableMenu(elem, divFrom)
{ {
elem.style.display = "none"; elem.style.display = "none";
divFrom.style['font-weight'] = "normal"; divFrom.style['font-weight'] = "normal";
divFrom.style['text-decoration'] = "";
} }
function switchMenuDisplay(id) function switchMenuDisplay(id)