Standardize file viewer template data and fix opengraph funcs
This commit is contained in:
@@ -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
|
||||
|
@@ -178,7 +178,7 @@
|
||||
<script>
|
||||
// This info gets filled in on the server side to prevent having to make an API call right after the page loads.
|
||||
// Just to slice another few milliseconds from the load time :)
|
||||
Viewer.init('{{.Type}}', {{.APIResponse}});
|
||||
Viewer.init('{{.Other.Type}}', {{.Other.APIResponse}});
|
||||
</script>
|
||||
|
||||
{{template "analytics"}}
|
||||
|
Reference in New Issue
Block a user