Fixed search for attribute on clicked node instead of event-wired node.

The logic was looking for a dropdown attribute on the node that was clicked (e.target) instead of the node that the event was actually wired to (e.currentTarget).