mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-21 20:54:43 +00:00
parent
33e78ed937
commit
5178d8b8ba
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@
|
|||
e.preventDefault()
|
||||
})
|
||||
.on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
|
||||
$(e.target).closest('.btn').toggleClass('focus', e.type == 'focus')
|
||||
$(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))
|
||||
})
|
||||
|
||||
}(jQuery);
|
||||
|
|
|
|||
Loading…
Reference in a new issue