mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
92c90fa466
commit
96f05d342c
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user