From 2e543f812490d7d2393b5befd858199bddd3c378 Mon Sep 17 00:00:00 2001 From: lnx4 Date: Sat, 17 Sep 2022 21:48:04 +0300 Subject: [PATCH] update --- chromium-lorpic/app.js | 1 + firefox-lorpic/app.js | 1 + 2 files changed, 2 insertions(+) diff --git a/chromium-lorpic/app.js b/chromium-lorpic/app.js index 8e80286..12dfffe 100755 --- a/chromium-lorpic/app.js +++ b/chromium-lorpic/app.js @@ -16,6 +16,7 @@ image.setAttribute('class', 'lorpic'); image.setAttribute('src', url); //link.replaceWith(image); + link.innerHTML = ""; link.appendChild(image); link.setAttribute('target', '_blank'); } diff --git a/firefox-lorpic/app.js b/firefox-lorpic/app.js index 8e80286..12dfffe 100755 --- a/firefox-lorpic/app.js +++ b/firefox-lorpic/app.js @@ -16,6 +16,7 @@ image.setAttribute('class', 'lorpic'); image.setAttribute('src', url); //link.replaceWith(image); + link.innerHTML = ""; link.appendChild(image); link.setAttribute('target', '_blank'); }