diff options
author | 2018-06-28 02:08:21 -0400 | |
---|---|---|
committer | 2018-06-28 02:13:53 -0400 | |
commit | 0227bb98281a4cd3d00dca6b01df11d2a02da5fc (patch) | |
tree | e546fc47eb3aa75c1d4aaa9f319da502442b6e76 /ui/static/js | |
parent | 9d8b5421ed69f4abe07bddd085b4374c99e4f069 (diff) |
Set opener to null when opening original URL with JavaScript.
Diffstat (limited to 'ui/static/js')
-rw-r--r-- | ui/static/js/app.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/static/js/app.js b/ui/static/js/app.js index e616a2d..0933684 100644 --- a/ui/static/js/app.js +++ b/ui/static/js/app.js @@ -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(); } |