aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tooltip
diff options
context:
space:
mode:
Diffstat (limited to 'demos/tooltip')
-rw-r--r--demos/tooltip/forms.html2
-rw-r--r--demos/tooltip/video-player.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/demos/tooltip/forms.html b/demos/tooltip/forms.html
index d93c004ba..4a593ef51 100644
--- a/demos/tooltip/forms.html
+++ b/demos/tooltip/forms.html
@@ -36,7 +36,7 @@
$( "<button>" )
.text( "Show help" )
.button()
- .click(function() {
+ .on( "click", function() {
tooltips.tooltip( "open" );
})
.insertAfter( "form" );
diff --git a/demos/tooltip/video-player.html b/demos/tooltip/video-player.html
index 23747bb20..3d4e467be 100644
--- a/demos/tooltip/video-player.html
+++ b/demos/tooltip/video-player.html
@@ -74,7 +74,7 @@
},
text: !!$( this ).attr( "title" )
});
- button.not( ".menu" ).click(function() {
+ button.not( ".menu" ).on( "click", function() {
notify( button );
});
});
@@ -83,7 +83,7 @@
});
$( "button.menu" )
- .click(function() {
+ .on( "click", function() {
$( document ).tooltip( "close", { currentTarget: this });
var menu = $( this ).next().show().position({
my: "left top",