judge active on click handler