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

Does not work with jquery-1.10.2.js #56

Open jbpotonnier opened 10 years ago

jbpotonnier commented 10 years ago

One can only toggle once, then the toggle button is locked to its status. Restoring jQuery v1.7.2 make it work again.

maxtorchel commented 8 years ago

solution: find and replace $(this).is(':checked') to $(this).attr('checked') != undefined !$myCheckBox.is(":checked") to $myCheckBox.attr('checked') == undefined !$input.is(':checked') to $input.attr('checked') == undefined