Skip to content

Commit 9377b17

Browse files
committed
fix(App#openInNewTab): Use browser.tabs to open new tab instead of window.open
fixes #1833 Signed-off-by: Marcel Klehr <[email protected]>
1 parent d2fe3ed commit 9377b17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export default {
169169
}
170170
},
171171
openInNewTab() {
172-
window.open(window.location.href, '_blank')
172+
browser.tabs.create({url: window.location.href})
173173
}
174174
}
175175
}

0 commit comments

Comments
 (0)