diff options
Diffstat (limited to 'demos/button/default.html')
-rw-r--r-- | demos/button/default.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <script src="../../external/requirejs/require.js"></script> <script src="../bootstrap.js"> $( ".widget input[type=submit], .widget a, .widget button" ).button(); - $( "button, input, a" ).click( function( event ) { + $( "button, input, a" ).on( "click", function( event ) { event.preventDefault(); } ); </script> |