aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tooltip/video-player.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-05-13 22:02:14 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-05-20 14:27:57 -0400
commit24f1ce9ea046607ae9d0611aefbe5bbd636f8d32 (patch)
tree3cb4d72e90061a7c88c614e2ff80244bc7c48e4e /demos/tooltip/video-player.html
parentc25a541fc414bc46a2ab6911ca2a09a1c772c999 (diff)
downloadjquery-ui-24f1ce9ea046607ae9d0611aefbe5bbd636f8d32.tar.gz
jquery-ui-24f1ce9ea046607ae9d0611aefbe5bbd636f8d32.zip
Tooltip: Remove core event/alias and deprecated module dependencies
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",