aboutsummaryrefslogtreecommitdiffstats
path: root/demos/button/splitbutton.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/button/splitbutton.html')
-rw-r--r--demos/button/splitbutton.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/button/splitbutton.html b/demos/button/splitbutton.html
index 441e0a912..333d54bd7 100644
--- a/demos/button/splitbutton.html
+++ b/demos/button/splitbutton.html
@@ -18,7 +18,7 @@
$(function() {
$( "#rerun" )
.button()
- .click(function() {
+ .on( "click", function() {
alert( "Running the last action" );
})
.next()
@@ -28,7 +28,7 @@
primary: "ui-icon-triangle-1-s"
}
})
- .click(function() {
+ .on( "click", function() {
var menu = $( this ).parent().next().show().position({
my: "left top",
at: "left bottom",