fix: set open external link in new tab as an option
This commit is contained in:
1 parent
fc79d92423
commit
2d06a1d9df
2 files changed
+9
-1
No files matched your search
@@ -113,7 +113,9 @@ module.exports = {
|
||||
}
|
||||
} else {
|
||||
$(elm).addClass(`is-external-link`)
|
||||
$(elm).attr('target', '_blank')
|
||||
if (this.config.openExternalLinkNewTab) {
|
||||
$(elm).attr('target', '_blank')
|
||||
}
|
||||
}
|
||||
|
||||
// -> Update element
|
||||
|
||||
Reference in new issue
Block a user