-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
getClasses function's filter works contrawise #711
Comments
danielcsorba
changed the title
getClasses function's filter work contrawise
getClasses function's filter works contrawise
Jul 22, 2019
izumiya
added a commit
to sensyn-robotics/bootstrap-switch
that referenced
this issue
Apr 17, 2023
izumiya
added a commit
to sensyn-robotics/bootstrap-switch
that referenced
this issue
Apr 17, 2023
commit 3c70032 Author: amacou <[email protected]> Date: Tue Jul 23 15:05:23 2019 +0900 Fix getClasses function's filter works contrawise. Fixes Bttstrp#711
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bootstrap-switch/src/js/bootstrap-switch.js
Line 15 in 19275e7
Result:
This currently leaving only the
null
values in the array. Causing invalid class names and preventing class based options to work.Fix:
It should be negated
!==
instead of==
.The text was updated successfully, but these errors were encountered: