fixes
This commit is contained in:
parent
6919b914a4
commit
daa7f81c7a
@ -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}`;
|
||||
|
2
popup.js
2
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', () => {
|
||||
|
Reference in New Issue
Block a user