scratch
/file.html |
@@ -198,9 +198,6 @@ |
.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() |
@@ -213,7 +210,7 @@ |
.concat("//") |
.concat(window.location.hostname) |
.concat("/") |
.concat(data.hash); |
.concat(data); |
|
file |
.previewElement |
@@ -231,9 +228,9 @@ |
.value = location.protocol.concat("//") |
.concat(window.location.hostname) |
.concat("/") |
.concat(data.timestamp) |
.concat("delete") |
.concat("/") |
.concat(data.hash); |
.concat(data); |
|
file |
.previewElement |