2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03: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
+1 -1
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'
}