feat: open external link in new tab (#1453)
This commit is contained in:
parent
f72cf664eb
commit
fc79d92423
@ -113,6 +113,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$(elm).addClass(`is-external-link`)
|
$(elm).addClass(`is-external-link`)
|
||||||
|
$(elm).attr('target', '_blank')
|
||||||
}
|
}
|
||||||
|
|
||||||
// -> Update element
|
// -> Update element
|
||||||
|
Loading…
Reference in New Issue
Block a user