2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Run grunt.

[ci skip]
This commit is contained in:
XhmikosR
2016-05-29 12:18:11 +03:00
parent fc26740876
commit 349cc8c3b4
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -283,7 +283,7 @@ if (typeof jQuery === 'undefined') {
.on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
var $btn = $(e.target).closest('.btn')
Plugin.call($btn, 'toggle')
if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) {
if (!($(e.target).is('input[type="radio"], input[type="checkbox"]'))) {
// Prevent double click on radios, and the double selections (so cancellation) on checkboxes
e.preventDefault()
// The target component still receive the focus