aboutsummaryrefslogtreecommitdiffstats
path: root/demos/button/toolbar.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-05-13 21:54:37 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-05-20 14:27:55 -0400
commit12df1b7dad135aa57640be631277db3f7d75d672 (patch)
tree4eebd1f09cecf57ed2dbdf358e9d4ddaea680fdd /demos/button/toolbar.html
parent8b4ce807cd97e3cb953995934d6c4f614de9fa03 (diff)
downloadjquery-ui-12df1b7dad135aa57640be631277db3f7d75d672.tar.gz
jquery-ui-12df1b7dad135aa57640be631277db3f7d75d672.zip
Button: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'demos/button/toolbar.html')
-rw-r--r--demos/button/toolbar.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/button/toolbar.html b/demos/button/toolbar.html
index e2eac055c..e13b4a1d1 100644
--- a/demos/button/toolbar.html
+++ b/demos/button/toolbar.html
@@ -35,7 +35,7 @@
primary: "ui-icon-play"
}
})
- .click(function() {
+ .on( "click", function() {
var options;
if ( $( this ).text() === "play" ) {
options = {
@@ -60,7 +60,7 @@
primary: "ui-icon-stop"
}
})
- .click(function() {
+ .on( "click", function() {
$( "#play" ).button( "option", {
label: "play",
icons: {