mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-12-17 16:51:40 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
526a9730e0
commit
d0e2887ec1
@ -541,17 +541,17 @@ var DataPrototype = {
|
|||||||
return this.current
|
return this.current
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// current image shorthand...
|
||||||
|
if(target == 'current'){
|
||||||
|
target = this.current
|
||||||
|
}
|
||||||
|
|
||||||
// explicit image gid -- get the loaded group gid...
|
// explicit image gid -- get the loaded group gid...
|
||||||
if(this.order.indexOf(target) >= 0){
|
if(this.order.indexOf(target) >= 0){
|
||||||
var x = this.getLoadedInGroup(target)
|
var x = this.getLoadedInGroup(target)
|
||||||
target = x != null ? x : target
|
target = x != null ? x : target
|
||||||
}
|
}
|
||||||
|
|
||||||
// current image shorthand...
|
|
||||||
if(target == 'current'){
|
|
||||||
target = this.current
|
|
||||||
}
|
|
||||||
|
|
||||||
// order -> gid special case...
|
// order -> gid special case...
|
||||||
if(typeof(target) == typeof(123)){
|
if(typeof(target) == typeof(123)){
|
||||||
if(target >= this.order.length){
|
if(target >= this.order.length){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user