vendor/assets/javascripts/twitter/bootstrap/bootstrap-button.js in twitter-bootstrap-rails-2.0.1 vs vendor/assets/javascripts/twitter/bootstrap/bootstrap-button.js in twitter-bootstrap-rails-2.0.1.0

- old
+ new

@@ -1,7 +1,7 @@ /* ============================================================ - * bootstrap-button.js v2.0.0 + * bootstrap-button.js v2.0.1 * http://twitter.github.com/bootstrap/javascript.html#buttons * ============================================================ * Copyright 2012 Twitter, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -89,10 +89,10 @@ /* BUTTON DATA-API * =============== */ $(function () { $('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) { - $(e.target).button('toggle') + $(e.currentTarget).button('toggle') }) }) -}( window.jQuery ) +}( window.jQuery ); \ No newline at end of file