Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into issue/OSOE-795
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Apr 22, 2024
2 parents e6a3888 + 2ed63fd commit 3e72269
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lombiq.HelpfulExtensions/Assets/Scripts/target-blank.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
// In the current script, we are not using them.
// eslint-disable-next-line no-script-url
!links[i].href.startsWith('javascript:') &&
!links[i].href.startsWith('mailto:')) {
!links[i].href.startsWith('mailto:') &&
links[i].href) {
links[i].setAttribute('target', '_blank');
}
}
Expand Down

0 comments on commit 3e72269

Please sign in to comment.