То, что сказал Ник (уберите разрыв)! Если вы пытаетесь остановить всплывающее событие, попробуйте:
e.stopPropagation(); // this will stop any other parent handlers from firing
e.stopImmediatePropagation(); // this will stop any other handlers (including on the current object from firing.
e.preventDefault(); // this will stop the browser from handling the event.