Fix non-correct code in show()

If you want to ignore invocation of show(), you should check the trigger, not parent elements. Also, $(this) will never be equal to event.target. Correct check is if( $(this).get(0) !== event.target) {  }