Find which A was clicked on onUrlRequest (#1014)
Find which A was clicked on onUrlRequest (#1014)

Given the following code 

  a({ onclick: Handler, href="/foo" }, [
    span(text("Click me"))
  ])

the original onclick handler would see event.target = span,
and then href = undefined. With this change, we iterate up
from the span to the a and then get the href from there.

hyperapp/hyperapp,jbucaran/hyperapp,hyperapp/hyperapp