From 7cc4710e4554a3cf66311ff2515022c0feaab9ab Mon Sep 17 00:00:00 2001 From: Solninja A <51935570+SolninjaA@users.noreply.github.com> Date: Mon, 27 Jan 2025 14:37:25 +1000 Subject: [PATCH] v1.2.0 - Change innerHTML to innerText --- popup/popup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/popup/popup.js b/popup/popup.js index be10a07..38074d9 100644 --- a/popup/popup.js +++ b/popup/popup.js @@ -81,10 +81,10 @@ shortURLEle.oninput = (event) => { // And if the configured host is not undefined if (chhotoHost !== undefined) { // Inform the user - messageEle.innerHTML = `The short URL will be generated as: ${chhotoHost}/${shortURLText}.`; + messageEle.innerText = `The short URL will be generated as: ${chhotoHost}/${shortURLText}.`; } else { // If the configured host is undefined - messageEle.innerHTML = "The Chhoto URL host has not been configured. Cannot generate shortened URL."; + messageEle.innerText = "The Chhoto URL host has not been configured. Cannot generate shortened URL."; } // Set the short URL