better preview of files
This commit is contained in:
@@ -66,7 +66,7 @@ export class FilePreview {
|
||||
}
|
||||
|
||||
async previewFile(file) {
|
||||
const contentDiv = document.getElementById(`${this.options.containerId}Content`);
|
||||
const contentDiv = document.getElementById('filePreviewContent');
|
||||
const extension = file.name.split('.').pop().toLowerCase();
|
||||
|
||||
// Show loading spinner
|
||||
|
||||
Reference in New Issue
Block a user