There was an error while loading. Please reload this page.
1 parent 651f49f commit 2f68a11Copy full SHA for 2f68a11
1 file changed
cps/static/js/main.js
@@ -125,7 +125,7 @@ $(".container-fluid").bind('drop', function (e) {
125
$(this).css('background', '');
126
const dt = new DataTransfer();
127
jQuery.each(files, function (index, item) {
128
- if (test.indexOf(item.name.substr(item.name.lastIndexOf('.'))) !== -1) {
+ if (test.toLowerCase().indexOf(item.name.substr(item.name.lastIndexOf('.')).toLowerCase()) !== -1) {
129
dt.items.add(item);
130
}
131
});
0 commit comments