mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-30 08:39:56 +02:00
Merge branch 'master' into 2.0.2-wip
Conflicts: docs/assets/bootstrap.zip
This commit is contained in:
Binary file not shown.
4
docs/assets/js/bootstrap-button.js
vendored
4
docs/assets/js/bootstrap-button.js
vendored
@@ -91,7 +91,9 @@
|
||||
|
||||
$(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')
|
||||
})
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user