scratch
/file.html |
@@ -198,6 +198,9 @@ |
.style |
.opacity = "0"; |
}).on("success", (file, data) => { |
// Serialize JSON to object. |
data = JSON.parse(data); |
|
// Set the ID of the URL box. |
const boxURLID = '_' + Math |
.random() |
@@ -210,7 +213,7 @@ |
.concat("//") |
.concat(window.location.hostname) |
.concat("/") |
.concat(data); |
.concat(data.hash); |
|
file |
.previewElement |
@@ -228,9 +231,9 @@ |
.value = location.protocol.concat("//") |
.concat(window.location.hostname) |
.concat("/") |
.concat("delete") |
.concat(data.timestamp) |
.concat("/") |
.concat(data); |
.concat(data.hash); |
|
file |
.previewElement |