From daa7f81c7ac2da9a24db7cd5a6389eb943261bc8 Mon Sep 17 00:00:00 2001 From: Tijl <85572877+xTTLegend@users.noreply.github.com> Date: Mon, 26 Dec 2022 23:08:35 +0100 Subject: [PATCH] fixes --- popup-func.js | 2 +- popup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/popup-func.js b/popup-func.js index 6bb3314..ad9f94b 100644 --- a/popup-func.js +++ b/popup-func.js @@ -13,7 +13,7 @@ function newRedirect () { request.setRequestHeader('Content-type', 'application/json'); request.send(JSON.stringify(sendData)); request.onload = (e) => { - var shortUrlOut = document.getElementById("output-shortUrl") + var shortUrlOut = document.getElementById("output-shortUrl"); var responseData = JSON.parse(request.response); shortUrlOut.value = `${config.shlinkOutUrl}/${responseData.shortCode}`; shlinkAppBtnRdUrl = `${config.shlinkAppUrl}/short-code/${responseData.shortCode}/${config.shlinkAppOpenMode}`; diff --git a/popup.js b/popup.js index 620d6d8..b4e4e8a 100644 --- a/popup.js +++ b/popup.js @@ -2,7 +2,7 @@ const searchButton = document.getElementById('searchButton'); var shlinkAppBtnRdUrl = `${config.shlinkAppUrl}`; -document.getElementById('title').innerHTML = config.customName +document.getElementById('title').innerHTML = config.customName; if (searchButton) { searchButton.addEventListener('click', () => {