1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

Set opener to null when opening original URL with JavaScript.

This commit is contained in:
dzaikos 2018-06-28 02:08:21 -04:00
parent 9d8b5421ed
commit 0227bb9828
2 changed files with 6 additions and 4 deletions

View file

@ -8,7 +8,9 @@ class DomHelper {
}
static openNewTab(url) {
let win = window.open(url, "_blank");
let win = window.open("");
win.opener = null;
win.location = url;
win.focus();
}