aboutsummaryrefslogtreecommitdiff
path: root/templates/shared/tooltip.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2022-12-21 14:51:46 +0100
committerJan-Hendrik Willms <tleilax+github@gmail.com>2022-12-21 14:51:46 +0100
commiteb834236e0b596ec8feef170a339d6c7d42a7cd6 (patch)
treeac839b930e606b00df9557c21050fa0d58c40933 /templates/shared/tooltip.php
parent212f042eaf1e4aeb6ac3f43fa85a3748006f052e (diff)
Revert "add tooltip content as aria label, fixes #1916"
This reverts commit 2c31279a42b81ac49cb089e3ce6df72593eede6b.
Diffstat (limited to 'templates/shared/tooltip.php')
-rw-r--r--templates/shared/tooltip.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/templates/shared/tooltip.php b/templates/shared/tooltip.php
index af06bce..a97c73f 100644
--- a/templates/shared/tooltip.php
+++ b/templates/shared/tooltip.php
@@ -1,10 +1,3 @@
-<?php
-/**
- * @var bool $html
- * @var bool $important
- * @var string $text
- */
-?>
<span class="tooltip tooltip-icon <? if ($important) echo 'tooltip-important'; ?>" data-tooltip <? if (!$html) printf('title="%s"', htmlReady($text)) ?> tabindex="0">
<? if ($html): ?>
<span class="tooltip-content"><?= $text ?></span>