added comment

This commit is contained in:
Tijl 2022-12-25 17:59:07 +01:00
parent ea4b512429
commit 6919b914a4

View File

@ -17,8 +17,8 @@ function newRedirect () {
var responseData = JSON.parse(request.response);
shortUrlOut.value = `${config.shlinkOutUrl}/${responseData.shortCode}`;
shlinkAppBtnRdUrl = `${config.shlinkAppUrl}/short-code/${responseData.shortCode}/${config.shlinkAppOpenMode}`;
document.getElementById("newButton").style.display = 'none';
document.getElementById("cancelButton").style.display = 'block';
//document.getElementById("newButton").style.display = 'none'; //to be worked on
//document.getElementById("cancelButton").style.display = 'block'; //to be worked on
document.getElementById("p1qr-code").src = `${config.shlinkUrl}/${responseData.shortCode}/qr-code?size=160&format=png&margin=2&errorCorrection=L`;
}
});