aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorMike Vastola <[email protected]>2018-12-10 03:40:08 -0500
committerXhmikosR <[email protected]>2018-12-10 10:40:08 +0200
commitfc15c4c4ce132e70eb67335dfe840c3f0a80dae4 (patch)
tree7fd8b5c63efdbfb5d96670c648cb00300d850e90 /js/src
parent385ce1c961b4acfbe11f7029542a7df83075725c (diff)
downloadbootstrap-fc15c4c4ce132e70eb67335dfe840c3f0a80dae4.tar.xz
bootstrap-fc15c4c4ce132e70eb67335dfe840c3f0a80dae4.zip
Change button checkbox/radios to ignore hidden input fields (#27802)
Diffstat (limited to 'js/src')
-rw-r--r--js/src/button.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/button.js b/js/src/button.js
index 75b21d94d..53ae16955 100644
--- a/js/src/button.js
+++ b/js/src/button.js
@@ -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'
}