jQuery проверьте, нажмите ли я, а не этот ребенок

if ($(e.target).is(this)){
  console.log("do something");
}
Excited Emu