Closed asankov closed 3 years ago
I also have this problem and this fix helped me. Merge please! Thanks a lot
@asankov Please reflect changes to source code: https://github.com/Bttstrp/bootstrap-switch/blob/master/CONTRIBUTING.md
@LostCrew in sources is this what is needed
- function prvcontainerPosition(state = this.ope) {
+ function prvcontainerPosition(state = this.options.state) {
The existing test suite didn't catch this so I guess we need a test as well.
@LostCrew thanks for pointing me to the contribution guidelines. I haven't contributed to a js library before, so I am not familiar with the build process, etc.
I updated my PR accordingly, can you take a look at it again?
@LostCrew ping. can you take a look at this? It looks like a lot of people would benefit of merging this PR?
Apparently, this typo leads to a bug with the select button - it is ON, but displayed as OFF, because it is unable to iterate through the classes that muse be set