Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Gabrielsson committed Aug 5, 2024
1 parent 76ab5d5 commit ac1718f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nightly/modules/navigate.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ app.module.navigate = {
_click: function (event) {
var link = app.element.getTagLink(event.target)
if (link) {
var href = link.attributes.href // Support href in all elements.
if (link.hash) {
this._hash(link)
} else if (link.href) {
} else if (link.href || href) {
if (link.target === '_blank') {
return
} else {
Expand Down

0 comments on commit ac1718f

Please sign in to comment.