mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
quote attribute value in ^= selector in button.js
This commit is contained in:
parent
efcd9604fa
commit
170ba560c2
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue