minor bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-03-01 00:01:15 +03:00
parent d2beb3b8fd
commit fa1a6a0f2b

View File

@ -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){