From 12df1b7dad135aa57640be631277db3f7d75d672 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Wed, 13 May 2015 21:54:37 -0400 Subject: Button: Remove core event/alias and deprecated module dependencies --- demos/button/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/button/default.html') diff --git a/demos/button/default.html b/demos/button/default.html index 8c1690969..1bd4f9191 100644 --- a/demos/button/default.html +++ b/demos/button/default.html @@ -13,7 +13,7 @@ $(function() { $( "input[type=submit], a, button" ) .button() - .click(function( event ) { + .on( "click", function( event ) { event.preventDefault(); }); }); -- cgit v1.2.3