1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-27 05:49:07 +02:00

Change button checkbox/radios to ignore hidden input fields (#27802)

This commit is contained in:
Mike Vastola
2018-12-10 03:40:08 -05:00
committed by XhmikosR
parent 385ce1c961
commit fc15c4c4ce
2 changed files with 24 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ const ClassName = {
const Selector = {
DATA_TOGGLE_CARROT : '[data-toggle^="button"]',
DATA_TOGGLE : '[data-toggle="buttons"]',
INPUT : 'input',
INPUT : 'input:not([type="hidden"])',
ACTIVE : '.active',
BUTTON : '.btn'
}