bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-03-26 03:19:49 +03:00
parent 92c90fa466
commit 96f05d342c

View File

@ -1132,7 +1132,7 @@ var DataPrototype = {
.map(function(e){
// primary path -- gids...
// NOTE: this is the most probable path...
if(loaded[e]){
if(e in loaded){
return e
}
@ -1142,10 +1142,12 @@ var DataPrototype = {
that.getImage(e, 'global')
: that.getImage(e)
return loaded[e] ? e : null
return e in loaded ? e : null
})
.filter(function(e){ return e !== null })
console.log('>>>>', list, loaded)
count = null
target = null