mirror of
https://gitflic.ru/project/photopea-v2/photopea-v-2.git
synced 2026-06-20 15:41:13 +00:00
Remove unneeded replace
This commit is contained in:
@@ -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