4

Wtf js...

How to check if the event that is passed to the buttion is fron this button and syio it from bobbling 🙈

Comments
  • 1
    Isn't that event.target === event.currentTarget and event.stopPropagation? Or did I misunderstand something?
  • 1
    @mhall
    Nope, your right
Add Comment