When I click a child of a parent, but listen for the event on the parent, I expect the layer variable in the handler to give me the name of the child. It's returning the parent name instead. Any ideas?
In the DOM I would usually be checking event.target and event.currentTarget. I checked in this case and event.currentTarget is the same as event.target.