Skip to content

Commit 96fc9f2

Browse files
authored
Open GitHub links in new window (#35)
1 parent 8765b99 commit 96fc9f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/ep/layout/GithubActions.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ const createIssuePath = resolveURL(githubInfo.repoLink!, '/issues/new/choose')
4141
v-if="githubInfo.repoLink"
4242
class="flex justify-end gap-4 flex-wrap items-center"
4343
>
44-
<a :href="editPath" class="github-action-button">
44+
<a :href="editPath" target="_blank" class="github-action-button">
4545
<Icon
4646
class="w-4 h-4 mr-2 text-primary"
4747
name="heroicons:pencil-square-solid"
4848
/>
4949
<span>Edit this page</span>
5050
</a>
51-
<a :href="createIssuePath" class="github-action-button">
51+
<a :href="createIssuePath" target="_blank" class="github-action-button">
5252
<Icon
5353
class="w-4 h-4 mr-2 text-error"
5454
name="heroicons:chat-bubble-left-20-solid"

0 commit comments

Comments
 (0)