Skip to content

Commit 280c641

Browse files
committed
fix: tooltip al mouseover su icona
1 parent 0580f88 commit 280c641

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/HTMLBuilder/Wrapper/HTMLWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function before(&$values, &$extras)
5151
// Generazione dell'etichetta
5252
if (!empty($values['label'])) {
5353
$result .= '
54-
<label for="'.prepareToField($values['id']).'">'.(empty($values['help']) ? $values['label'] : '<span class="tip" title="'.prepareToField($values['help']).'">'.$values['label'].' <i class="fa fa-question-circle-o"></i></span>').'</label>';
54+
<label for="'.prepareToField($values['id']).'">'.(empty($values['help']) ? $values['label'] : $values['label'].' <i class="fa fa-question-circle-o tip" title="'.prepareToField($values['help']).'"></i>').'</label>';
5555
}
5656

5757
$result .= '

0 commit comments

Comments
 (0)