cgarvis / angular-toggle-switch

AngularJS Toggle Switch
http://cgarvis.github.io/angular-toggle-switch
MIT License
160 stars 124 forks source link

Fix CSS bug when a switcher is ON by default #2

Closed baptadn closed 11 years ago

baptadn commented 11 years ago

If you load a switcher with a true model, the switcher has both CSS class switch-off and switch-on and the class 'switch-on' isn't render. Remove switch-off class fix the issue.