aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/static/js/app.js
diff options
context:
space:
mode:
authorGravatar Maxim Baz <git@maximbaz.com>2019-10-31 04:19:48 +0100
committerGravatar Frédéric Guillot <fred@miniflux.net>2019-10-30 20:19:48 -0700
commit21f8b034830efa139560092e28f2834119e10a70 (patch)
tree33b891c52daceebcd2b8818471d2044783eade80 /ui/static/js/app.js
parent03406c68d0f993f68ca45c868cc9eda6ac110c8d (diff)
Make "v" open link in the current tab on entry page
Diffstat (limited to 'ui/static/js/app.js')
-rw-r--r--ui/static/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/static/js/app.js b/ui/static/js/app.js
index 829e6cd..8474935 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;
}