You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was using bootstrap-switch inside one of my projects. The one issue I have is that inside bootstrapSwitch.js on line 237, you have attached the bootstrapSwitch to any element with a class of switch.
The problem I am having is that it then affects one of my other js library files ( bootstrap-datepicker.js) which use the class switch for styling element (which I find is a very generic name):
I know that if I remove the snippet from your library file it will fix this issue however I would then have to remember to remove this every time I update your script.
I propose maybe changing the name of the class to .bootstrap-switch or removing it from the library file.
Any feedback would be appreciated.
Thomas
The text was updated successfully, but these errors were encountered:
Was using bootstrap-switch inside one of my projects. The one issue I have is that inside bootstrapSwitch.js on line 237, you have attached the bootstrapSwitch to any element with a class of switch.
The problem I am having is that it then affects one of my other js library files ( bootstrap-datepicker.js) which use the class switch for styling element (which I find is a very generic name):
I know that if I remove the snippet from your library file it will fix this issue however I would then have to remember to remove this every time I update your script.
I propose maybe changing the name of the class to .bootstrap-switch or removing it from the library file.
Any feedback would be appreciated.
Thomas
The text was updated successfully, but these errors were encountered: