aboutsummaryrefslogtreecommitdiffstats
path: root/demos/button/toolbar.html
diff options
context:
space:
mode:
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: {