Open yourchoice opened 6 years ago
Hi @yourchoice! I'm not sure what you mean...
Do you mean that the change
event is triggered twice when? Right now it should be triggered whenever you click on a symbol, but once for click. Check this jsfiddle.
that happen just on mobile
I think problem commes form here 'mousedown touchstart' ... both events are fired ....
an e.preventDefault(); fix it
This is triggered twice, because already exists in plugin
$('input').on('change', function () { alert('Rating: ' + $(this).val()); });