aboutsummaryrefslogtreecommitdiffstats
path: root/demos
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
parentc25a541fc414bc46a2ab6911ca2a09a1c772c999 (diff)
downloadjquery-ui-24f1ce9ea046607ae9d0611aefbe5bbd636f8d32.tar.gz
jquery-ui-24f1ce9ea046607ae9d0611aefbe5bbd636f8d32.zip
Tooltip: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'demos')
-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",