diff options
| author | Jacob Thornton <[email protected]> | 2012-02-07 21:55:27 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-02-07 21:55:27 -0800 |
| commit | 139a07754303e1e53b34a0fca3b9c0a43ee5712b (patch) | |
| tree | ae12a4522c92f8cbd36320300cab42bc31a2ad73 /docs | |
| parent | 11f72f6aa22c9d2daa9a95846e6c786afd7bc3e1 (diff) | |
| download | bootstrap-139a07754303e1e53b34a0fca3b9c0a43ee5712b.tar.xz bootstrap-139a07754303e1e53b34a0fca3b9c0a43ee5712b.zip | |
don't use e.target incase button has icon or other content inside it
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/bootstrap.zip | bin | 52562 -> 52560 bytes | |||
| -rw-r--r-- | docs/assets/js/bootstrap-button.js | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip Binary files differindex 5f7a919de..90fa63336 100644 --- a/docs/assets/bootstrap.zip +++ b/docs/assets/bootstrap.zip diff --git a/docs/assets/js/bootstrap-button.js b/docs/assets/js/bootstrap-button.js index d85c82947..a3f4657e8 100644 --- a/docs/assets/js/bootstrap-button.js +++ b/docs/assets/js/bootstrap-button.js @@ -91,7 +91,7 @@ $(function () { $('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) { - $(e.target).button('toggle') + $(e.currentTarget).button('toggle') }) }) |
