Skip to content

Commit 608215c

Browse files
committed
Issues-544:Tooltips
1 parent ffcd709 commit 608215c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views/group/helper_functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function watchGroupButton($group) {
5353
$icon,
5454
"/group/watch/{$groupID}/" . Gdn::session()->transientKey(),
5555
'Hijack watchButton ' . ($hasWatched ? ' isWatching tooltip' : 'tooltip'),
56-
['title' => $text, 'aria-pressed' => $hasWatched ? 'true' : 'false', 'role' => 'button', 'tabindex' => '0']
56+
[ 'aria-pressed' => $hasWatched ? 'true' : 'false', 'role' => 'button', 'tabindex' => '0']
5757
);
5858

5959
} else if($hasWatched) {
@@ -62,7 +62,7 @@ function watchGroupButton($group) {
6262
$icon,
6363
"/group/unwatch/{$groupID}/" . Gdn::session()->transientKey(),
6464
'Hijack watchButton ' . ($hasWatched ? ' isWatching tooltip' : 'tooltip'),
65-
['title' => $text, 'aria-pressed' => $hasWatched ? 'true' : 'false', 'role' => 'button', 'tabindex' => '0']
65+
['aria-pressed' => $hasWatched ? 'true' : 'false', 'role' => 'button', 'tabindex' => '0']
6666
);
6767
}
6868

0 commit comments

Comments
 (0)