bootstrap.native: Any instance of the string 'in' in a collapse's class attribute breaks Collapse
Presumably this would be fixed by changing the regex to match /\bin\b/ instead of /in/ in the toggle function.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 25 (15 by maintainers)
Commits related to this issue
- Update bootstrap-native.js — committed to thednp/bootstrap.native by thednp 8 years ago
@thednp BS v4’s css will be totally broken in IE9, why support IE9 for the JS?
this issue still isn’t fixed.
1. \bin: http://regexr.com/3euta2. \bin\b: http://regexr.com/3eutm3. (^|\s)in($|\s): http://regexr.com/3eutgnavbar-inverse-collapseandinverse-classnavbar-in-exampleinor there is a space beforein, and ensures that either string ends withinor a space comes after.edit: cc @thednp @lcannon