aboutsummaryrefslogtreecommitdiffstats
path: root/demos/controlgroup
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2022-07-14 20:34:29 +0200
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2022-07-14 20:34:29 +0200
commitb53e7beb6884a8de7710146112bc48aecd8737b4 (patch)
treee81808cacc04a3e4a39115c08716a7ed1f977044 /demos/controlgroup
parentbb00536756b40a67288fab1803741d18bf3b5e4c (diff)
downloadjquery-ui-b53e7beb6884a8de7710146112bc48aecd8737b4.tar.gz
jquery-ui-b53e7beb6884a8de7710146112bc48aecd8737b4.zip
All: Remove deprecated .click() usage in demos/tests
Diffstat (limited to 'demos/controlgroup')
-rw-r--r--demos/controlgroup/splitbutton.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/controlgroup/splitbutton.html b/demos/controlgroup/splitbutton.html
index ec2b78876..27f949816 100644
--- a/demos/controlgroup/splitbutton.html
+++ b/demos/controlgroup/splitbutton.html
@@ -21,7 +21,7 @@
}
});
$( ".controlgroup" ).controlgroup();
- $( "button" ).click(function() {
+ $( "button" ).on( "click", function() {
$( ".output" ).append( "<li>Running Last Action...</li>" );
});
</script>