Target the parent dropdown div rather than the anchors within

Targeting the dropdown anchors rather than the dropdown div itself causes issues when there is no placeholder content. In that case, you cannot click on the select box, only the selector arrow element.

Moving the click handler to the div itself solves this problem and causes no ill effect.