webp import

This commit is contained in:
SillyLossy
2023-04-08 13:19:02 +03:00
parent 342d83c334
commit 0ca66ee471
6 changed files with 166 additions and 77 deletions

View File

@ -4437,7 +4437,7 @@ $(document).ready(function () {
var ext = file.name.match(/\.(\w+)$/);
if (
!ext ||
(ext[1].toLowerCase() != "json" && ext[1].toLowerCase() != "png")
(ext[1].toLowerCase() != "json" && ext[1].toLowerCase() != "png" && ext[1] != "webp")
) {
return;
}