From b53e7beb6884a8de7710146112bc48aecd8737b4 Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Thu, 14 Jul 2022 20:34:29 +0200 Subject: All: Remove deprecated .click() usage in demos/tests --- demos/button/default.html | 2 +- demos/controlgroup/splitbutton.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'demos') diff --git a/demos/button/default.html b/demos/button/default.html index 644dcd225..7ac6a325d 100644 --- a/demos/button/default.html +++ b/demos/button/default.html @@ -9,7 +9,7 @@ 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( "
  • Running Last Action...
  • " ); }); -- cgit v1.2.3