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…
Add table
Add a link
Reference in a new issue