aboutsummaryrefslogtreecommitdiffstats
path: root/tests
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 /tests
parentbb00536756b40a67288fab1803741d18bf3b5e4c (diff)
downloadjquery-ui-b53e7beb6884a8de7710146112bc48aecd8737b4.tar.gz
jquery-ui-b53e7beb6884a8de7710146112bc48aecd8737b4.zip
All: Remove deprecated .click() usage in demos/tests
Diffstat (limited to 'tests')
-rw-r--r--tests/visual/checkboxradio/checkboxradio.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/visual/checkboxradio/checkboxradio.html b/tests/visual/checkboxradio/checkboxradio.html
index a472c9df2..8d26daeff 100644
--- a/tests/visual/checkboxradio/checkboxradio.html
+++ b/tests/visual/checkboxradio/checkboxradio.html
@@ -24,7 +24,7 @@
checkboxes.checkboxradio( "option", option, value );
}
});
- $( ".controls > button" ).click( function() {
+ $( ".controls > button" ).on( "click", function() {
if ( this.id !== "create" ) {
checkboxes.checkboxradio( this.id );
} else {