1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-02 16:38:37 +00:00

Make "v" open link in the current tab on entry page

This commit is contained in:
Maxim Baz 2019-10-31 04:19:48 +01:00 committed by Frédéric Guillot
parent 03406c68d0
commit 21f8b03483
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}