Commits

Jacob Thornton  committed b0856de

rebuild with fixed buttons

  • Participants
  • Parent commits be68072

Comments (0)

Files changed (2)

File assets/bootstrap.zip

Binary file modified.

File assets/js/bootstrap-button.js

 
   $(function () {
     $('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) {
-      $(e.currentTarget).button('toggle')
+      var $btn = $(e.target)
+      if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
+      $btn.button('toggle')
     })
   })