Fix ipad issue when dropdown menu item parent hasn't href attr