Skip to content

v2.1.3

@thi3rry thi3rry tagged this 09 Apr 08:21
`e.target` contains the element that trigger the "click"
Since `A` tag can contains `SPAN` to displays icons, e.target is the `SPAN`, so we can't get the `href` from it.
`e.currentTarget` return the element on which we have attach the click -> `A`
Assets 2
Loading