use correct string in Imgdir to check if a folder has been previously encountered
This commit is contained in:
parent
32a53c12ac
commit
991936c66e
|
@ -42,7 +42,7 @@ package
|
|||
if (file.isDirectory && !rgdirname[file.name])
|
||||
{
|
||||
var urpd: String = file.name + "/";
|
||||
rgdirname[urpd] = true;
|
||||
rgdirname[file.name] = true;
|
||||
dispatchEvent(new EvNewImg(LOADED, urpd, null));
|
||||
}
|
||||
else if (!file.isDirectory && /\.(png|gif|jpg|jpeg)$/i.test(file.name) && !mpurpf_bmp[file.name])
|
||||
|
|
Loading…
Reference in a new issue