diff options
| author | Chris Rebert <[email protected]> | 2014-04-19 18:53:23 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-04-19 18:53:23 -0700 |
| commit | 170ba560c242a38293b46ac3871549a262b58e64 (patch) | |
| tree | 070d194e0b15eb8a828f9de7cad7121837d59dc1 | |
| parent | efcd9604fa12047654c3c946a0bb0c92bafd17e5 (diff) | |
| download | bootstrap-170ba560c242a38293b46ac3871549a262b58e64.tar.xz bootstrap-170ba560c242a38293b46ac3871549a262b58e64.zip | |
quote attribute value in ^= selector in button.js
| -rw-r--r-- | js/button.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/button.js b/js/button.js index f4d8d8b30..be3b769c2 100644 --- a/js/button.js +++ b/js/button.js @@ -97,7 +97,7 @@ // BUTTON DATA-API // =============== - $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) { + $(document).on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) { var $btn = $(e.target) if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn') $btn.button('toggle') |
