Add info to home page

This commit is contained in:
Wim Brand
2019-06-04 10:13:19 +02:00
parent c06e603988
commit 1261563f31
3 changed files with 7 additions and 3 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -42,6 +42,10 @@
Pixeldrain is a file sharing website built for speed and ease of
use.
</p>
<p>
The file size limit is 10 GB. There is no limit on the number of
files you can upload. A list can contain up to 10000 files.
</p>
<h2>Questions and Answers</h2>