mdbootstrap / bootstrap-toggle-buttons

Bootstrap-toggle-buttons has moved to https://github.com/nostalgiaz/bootstrap-switch
https://github.com/nostalgiaz/bootstrap-switch
Apache License 2.0
1.02k stars 92 forks source link

Make it work without input id #40

Closed depsimon closed 11 years ago

depsimon commented 11 years ago

I tried to produce an example on my app but it didn't work (labels were mispositioned ).

I assumed it was because my input didn't have an id.

To fix this i used "prop()" instead of "attr()" on line 55 in "jquery.toggle.buttons.js"

nostalgiaz commented 11 years ago

Can you send me a pull request? :)