Add info to home page
This commit is contained in:
@@ -187,7 +187,7 @@ btnCopyLinks.addEventListener("click", function () {
|
||||
for (var i = 0; i < finishedUploads.length; i++) {
|
||||
// Example: https://pixeldrain.com/u/abcd1234: Some_file.png
|
||||
text += window.location.protocol + "//" + window.location.hostname + "/u/" + finishedUploads[i].id +
|
||||
": " + finishedUploads[i].name + "\n";
|
||||
" " + finishedUploads[i].name + "\n";
|
||||
}
|
||||
var defaultButtonText = btnCopyLinks.innerHTML;
|
||||
// Copy the selected text
|
||||
@@ -314,7 +314,7 @@ var UploadWorker = /** @class */ (function () {
|
||||
};
|
||||
UploadWorker.prototype.newFile = function () {
|
||||
var file = this.manager.grabFile();
|
||||
if (file === undefined) {
|
||||
if (file === undefined) { // No more files in the queue. We're finished
|
||||
this.uploading = false;
|
||||
console.debug("No files left in queue");
|
||||
return; // Stop the thread
|
||||
|
@@ -226,7 +226,7 @@ btnCopyLinks.addEventListener("click", function(){
|
||||
for (var i = 0; i < finishedUploads.length; i++) {
|
||||
// Example: https://pixeldrain.com/u/abcd1234: Some_file.png
|
||||
text += window.location.protocol + "//" + window.location.hostname + "/u/" + finishedUploads[i].id +
|
||||
": " + finishedUploads[i].name + "\n";
|
||||
" " + finishedUploads[i].name + "\n";
|
||||
}
|
||||
|
||||
var defaultButtonText = btnCopyLinks.innerHTML;
|
||||
|
Reference in New Issue
Block a user