Switch `target` to `currentTarget`.

Sometimes links contain more complex structures (for example an image.) The target will point to the image clicked
instead of the link itself (which is where we can grab the `href` attribute.

@mymac80