added comment
This commit is contained in:
parent
ea4b512429
commit
6919b914a4
@ -17,8 +17,8 @@ function newRedirect () {
|
|||||||
var responseData = JSON.parse(request.response);
|
var responseData = JSON.parse(request.response);
|
||||||
shortUrlOut.value = `${config.shlinkOutUrl}/${responseData.shortCode}`;
|
shortUrlOut.value = `${config.shlinkOutUrl}/${responseData.shortCode}`;
|
||||||
shlinkAppBtnRdUrl = `${config.shlinkAppUrl}/short-code/${responseData.shortCode}/${config.shlinkAppOpenMode}`;
|
shlinkAppBtnRdUrl = `${config.shlinkAppUrl}/short-code/${responseData.shortCode}/${config.shlinkAppOpenMode}`;
|
||||||
document.getElementById("newButton").style.display = 'none';
|
//document.getElementById("newButton").style.display = 'none'; //to be worked on
|
||||||
document.getElementById("cancelButton").style.display = 'block';
|
//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`;
|
document.getElementById("p1qr-code").src = `${config.shlinkUrl}/${responseData.shortCode}/qr-code?size=160&format=png&margin=2&errorCorrection=L`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user