Don't trigger link validation on href='#' links.