mirror of
https://github.com/typecho/typecho.git
synced 2025-03-23 19:40:22 +01:00
fixed #52
This commit is contained in:
parent
7618468df2
commit
4d353e0725
@ -232,8 +232,9 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
file = file.toLowerCase();
|
||||
for (var i = 0; i < s.types.length; i ++) {
|
||||
var ext = s.types[i];
|
||||
var ext = s.types[i].toLowerCase();
|
||||
|
||||
if (file.length <= ext.length) {
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user