Skip to content

Commit 9868fef

Browse files
committed
Add a title to the icon
1 parent b676235 commit 9868fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebApp/BootstrapTheme/MmenuLayout.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ protected function renderMenuItem($item, $level) {
135135
if ($level == 0) {
136136
$icon = $item->getIcon();
137137
if ($icon == NULL) $icon = '';
138-
$icon = '<span class="mmenu-icon">'.$icon.'</span>';
138+
$icon = '<span class="mmenu-icon" title="'.htmlentities($item->getLabel()).'">'.$icon.'</span>';
139139
}
140140

141141
if ($link != NULL) {

0 commit comments

Comments
 (0)