mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
fixed empty crop bug...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5a50cd04d4
commit
73cacded7e
@ -705,6 +705,11 @@ var DataPrototype = {
|
|||||||
this.makeSparseImages(list)
|
this.makeSparseImages(list)
|
||||||
: this.ribbons[this.getRibbon(list)]
|
: this.ribbons[this.getRibbon(list)]
|
||||||
|
|
||||||
|
// special case: nothing to chose from...
|
||||||
|
if(list == null || list.length == 0){
|
||||||
|
return null
|
||||||
|
}
|
||||||
|
|
||||||
// order -> gid special case...
|
// order -> gid special case...
|
||||||
var i
|
var i
|
||||||
if(typeof(target) == typeof(123)){
|
if(typeof(target) == typeof(123)){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user