Skip to content

Commit 615022a

Browse files
committed
Tooltip: Update forms demo to programmatic-trigger only
1 parent 9556ecc commit 615022a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demos/tooltip/forms.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<link type="text/css" href="../demos.css" rel="stylesheet" />
1313
<script type="text/javascript">
1414
$(function() {
15-
$("[title]").tooltip();
15+
$("[title]").tooltip().unbind(".tooltip");
1616
$("<button/>").text("Show help").button().toggle(function() {
1717
$(":ui-tooltip").tooltip("open");
1818
}, function() {
@@ -59,7 +59,7 @@
5959

6060
<div class="demo-description">
6161

62-
<p>Hover the questionmark-buttons or use the button below to display the help texts all at once. Click again to hide them.</p>
62+
<p>Use the button below to display the help texts. Click again to hide them. Default hover and focus events are removed to show tooltip only programmatically.</p>
6363

6464
<p>A fixed width is defined in CSS to make the tooltips look consistent when displayed all at once.</p>
6565

0 commit comments

Comments
 (0)