aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tooltip/video-player.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/tooltip/video-player.html')
-rw-r--r--demos/tooltip/video-player.html4
1 files changed, 2 insertions, 2 deletions
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",