Commit 611bb3c3105a0e0cd915addc12f01a792102ac85
1 parent
2235d756
remove the "item" and title_id+"_icon" class if the entry is title.
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
web/widgets/left_menu.anubis
| ... | ... | @@ -112,7 +112,8 @@ define List(HTML_Off_Form) |
| 112 | 112 | left_menu_entry(_menu_id, _classes, _action, _text, _extra) then |
| 113 | 113 | p([class("item "+_menu_id+"_icon"+if _menu_id=selected then " selected" else ""+ " "+join(" ", _classes))],actioner(same,same, link(_T(_text)),_action,_extra)), |
| 114 | 114 | title(_title_id, _classes, _text) then |
| 115 | - p([class("menu_title"), class("item "+_title_id+"_icon"+if _title_id=selected then " selected" else ""+ " "+join(" ", _classes))], text([],_T(_text))) | |
| 115 | + p([class("menu_title"), class(if _title_id=selected then " selected" else ""+ " "+join(" ", _classes))], text([],_T(_text))) | |
| 116 | +// p([class("menu_title"), class("item "+_title_id+"_icon"+if _title_id=selected then " selected" else ""+ " "+join(" ", _classes))], text([],_T(_text))) | |
| 116 | 117 | }, |
| 117 | 118 | make_left_menu(_T, t, selected, [ entry . so_far]) |
| 118 | 119 | }. | ... | ... |