mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
d2beb3b8fd
commit
fa1a6a0f2b
@ -210,7 +210,7 @@ module.Location = core.ImageGridFeatures.Feature({
|
|||||||
var l = res.location = JSON.parse(JSON.stringify(this.location))
|
var l = res.location = JSON.parse(JSON.stringify(this.location))
|
||||||
|
|
||||||
// cleanup base_path...
|
// cleanup base_path...
|
||||||
Object.keys(res.images).forEach(function(gid){
|
Object.keys(res.images || {}).forEach(function(gid){
|
||||||
var img = res.images[gid]
|
var img = res.images[gid]
|
||||||
|
|
||||||
if(l.path == img.base_path){
|
if(l.path == img.base_path){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user