Skip to content

Commit

Permalink
fix: missing noopener
Browse files Browse the repository at this point in the history
  • Loading branch information
daliborgogic committed Nov 6, 2021
1 parent de6c417 commit 9bf855d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/templates/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default ({ app: { router } }) => {
if (href && href[0] === '/') {
event.preventDefault()
event.metaKey
? window.open(href, '_blank')
? window.open(href, '_blank', 'noopener')
: router.push(href)
}
}
Expand Down

0 comments on commit 9bf855d

Please sign in to comment.