Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
add target _blank to links
Browse files Browse the repository at this point in the history
  • Loading branch information
kand committed Nov 7, 2016
1 parent 39a7d6c commit e26193c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/plugins/scribe-plugin-link-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ define('scribe-plugin-link-ui',[],function () {
else {
$('.link-edit, [href=' + placeHolder + ']')
.attr('href', linkVal)
.attr('target', '_blank')
.removeClass('link-edit');
}
}, false);
Expand Down Expand Up @@ -144,4 +145,4 @@ define('scribe-plugin-link-ui',[],function () {
scribe.commands.linkUI = linkPromptCommand;
};
};
});
});

0 comments on commit e26193c

Please sign in to comment.