-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the option size is doesn't work? #685
Comments
I have the same problem. |
CSS and JS are v.3.3.4 on the demo site as in the repository, but the version on the site works! |
https://github.com/Bttstrp/bootstrap-switch/blob/master/dist/js/bootstrap-switch.js
be revised as
Returns the option of null: So it's all undefined |
@matusmark bootstrap-switch. Js is right |
@Wong-Dy you are correct, please submit a pull-request because it works as intended just by changing that |
FYI Fixed by #713 |
I had a try as this just, but it seems not to work |
No matter whether I use the
$(...). bootstrapSwitch ({size:"small"})
or adddata-size = "small"
to the input, I can't achieve small space. By the way, I found that there are lots ofbootstrap-switch-undefined
in the class attribute of wrapper which contains the switch elements.The text was updated successfully, but these errors were encountered: