From 24f1ce9ea046607ae9d0611aefbe5bbd636f8d32 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Wed, 13 May 2015 22:02:14 -0400 Subject: Tooltip: Remove core event/alias and deprecated module dependencies --- demos/tooltip/video-player.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/tooltip/video-player.html') 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", -- cgit v1.2.3