diff options
author | 2019-10-31 04:19:48 +0100 | |
---|---|---|
committer | 2019-10-30 20:19:48 -0700 | |
commit | 21f8b034830efa139560092e28f2834119e10a70 (patch) | |
tree | 33b891c52daceebcd2b8818471d2044783eade80 /ui/static/js | |
parent | 03406c68d0f993f68ca45c868cc9eda6ac110c8d (diff) | |
download | v2-21f8b034830efa139560092e28f2834119e10a70.tar.gz v2-21f8b034830efa139560092e28f2834119e10a70.tar.zst v2-21f8b034830efa139560092e28f2834119e10a70.zip |
Make "v" open link in the current tab on entry page
Diffstat (limited to 'ui/static/js')
-rw-r--r-- | ui/static/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/static/js/app.js b/ui/static/js/app.js index 829e6cd3..8474935d 100644 --- a/ui/static/js/app.js +++ b/ui/static/js/app.js @@ -285,7 +285,7 @@ function handleFetchOriginalContent() { function openOriginalLink() { let entryLink = document.querySelector(".entry h1 a"); if (entryLink !== null) { - DomHelper.openNewTab(entryLink.getAttribute("href")); + window.location.href = entryLink.getAttribute("href"); return; } |