logging capabilities
This commit is contained in:
parent
3f4c835bd1
commit
f12441b3b3
6 changed files with 47 additions and 18 deletions
|
@ -24,9 +24,6 @@ async function submitForm(e, form) {
|
|||
document.getElementById("shortUrl").innerHTML = response.shortUrl
|
||||
document.getElementById("shortUrl").href = response.shortUrl
|
||||
document.getElementById("longUrl").innerHTML = "Long Url: " + response.longUrl
|
||||
if (response.edit) {
|
||||
console.log("Already have this path, editing.")
|
||||
}
|
||||
if (response.old) {
|
||||
document.getElementById("edit").style.visibility = "visible"
|
||||
document.getElementById("oldLongUrl").innerHTML = response.old.longUrl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue