Skip to content

Commit e9df778

Browse files
committed
Ignore case of file extensions when determining if they can be thumbnailed. For #91
1 parent 40d8b4c commit e9df778

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

module/scripts/project/thumbnail-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class ThumbnailReconRenderer extends ReconCellRenderer {
6363

6464
var bareFileName = match.name.substr('File:'.length).replaceAll(' ', '_');
6565
var fileNameParts = bareFileName.split('.');
66-
var extension = fileNameParts[fileNameParts.length - 1];
66+
var extension = fileNameParts[fileNameParts.length - 1].toLowerCase();
6767
if (!self.supportedExtensions.includes(extension)) {
6868
// defer to the standard recon renderer
6969
return undefined;

0 commit comments

Comments
 (0)