stopPropagation

When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

MDN Reference