fix: set open external link in new tab as an option
This commit is contained in:
@@ -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