Bttstrp / bootstrap-switch

Turn checkboxes and radio buttons in toggle switches.
MIT License
5.08k stars 1.45k forks source link

Any method call fires onInit funсtion #702

Open dabeedj opened 5 years ago

dabeedj commented 5 years ago

Hello When I try to call any method inside onInit function, this method refires onInit again so the infinite loop starts onInit should be called once on switch init though Is there a hope for any workaround? Thanks