I have working on ruby project and using coffee-script there is one case where I use mousedown event.
$(document).on 'mousedown', @Selector(), (event)->
console.log('testing')
When I click on element the then it firing twice and print testing more then once. So how can i resolve this issue.
Aucun commentaire:
Enregistrer un commentaire