Remove deprecated API usage
Use event.currentTarget instead of event.target

So the command works with the shadow DOM disabled.
Merge pull request #19 from atom/ns-modernize

Remove deprecated API usage