more efficient vote click handler