Batbayar Sukhbaatar
Results
2
comments of
Batbayar Sukhbaatar
Right now i'm using like this ``` js $("#choices .switch-button-button, #choices .switch-button-background").click(function(e) { if($('#choices .switch-button-background').hasClass('checked')) { //do something } else { //do something } }); ```
I was using 7.10.0 and getting error while doing like @freimuth82 did. Solved it by updating my NodeJS version to 8.9.0