mirror of
https://github.com/flynx/ImageGrid.git
synced 2026-01-04 09:21:08 +00:00
minor bug-fix (stub)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
da16f4cc53
commit
bd95ece154
@ -592,8 +592,13 @@ function getImageGIDs(from, count, ribbon, inclusive){
|
|||||||
}
|
}
|
||||||
ribbon = DATA.ribbons[ribbon]
|
ribbon = DATA.ribbons[ribbon]
|
||||||
|
|
||||||
// ribbon this is empty...
|
// ribbon this is empty or non-existant...
|
||||||
if(ribbon.length == 0){
|
// XXX need to check when can we get a ribbon == undefined case...
|
||||||
|
// ...race?
|
||||||
|
//if(ribbon == null){
|
||||||
|
// // XXX
|
||||||
|
//}
|
||||||
|
if(ribbon == null || ribbon.length == 0){
|
||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
if(count > 0){
|
if(count > 0){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user