feat: open external link in new tab (#1453)

This commit is contained in:
Lukáš Hrdlička 2020-02-23 02:15:41 +01:00 committed by GitHub
parent f72cf664eb
commit fc79d92423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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