mirror of
https://gitflic.ru/project/photopea-v2/photopea-v-2.git
synced 2026-10-26 05:50:31 +00:00
Remove unneeded replace
This commit is contained in:
1 parent
52ddb10929
commit
d2d98c97aa
12 files changed
+20883
-19954
No files matched your search
@@ -165,7 +165,8 @@
|
||||
while(j < 25 && ii < out.length)
|
||||
{
|
||||
//could just check names from metadata, probably faster than .includes
|
||||
if(thumbnailExtenstions.includes(out[ii][0].split('.').pop()))
|
||||
var pts = out[ii][0].split('.');
|
||||
if(pts.length>1 && thumbnailExtenstions.includes(pts.pop()))
|
||||
{
|
||||
out[ii].push(response.result.entries[j].thumbnail)
|
||||
++j
|
||||
|
||||
Reference in new issue
Block a user