Standardize file viewer template data and fix opengraph funcs

This commit is contained in:
Fornax
2019-02-19 23:10:04 +01:00
parent d27de283a8
commit d27e48fefc
6 changed files with 71 additions and 69 deletions

View File

@@ -300,7 +300,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