Transfer click event to tap, only if not on a touch device