mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-03 12:50:09 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3aeaf6e36e
commit
526a9730e0
@ -541,6 +541,12 @@ var DataPrototype = {
|
|||||||
return this.current
|
return this.current
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// explicit image gid -- get the loaded group gid...
|
||||||
|
if(this.order.indexOf(target) >= 0){
|
||||||
|
var x = this.getLoadedInGroup(target)
|
||||||
|
target = x != null ? x : target
|
||||||
|
}
|
||||||
|
|
||||||
// current image shorthand...
|
// current image shorthand...
|
||||||
if(target == 'current'){
|
if(target == 'current'){
|
||||||
target = this.current
|
target = this.current
|
||||||
@ -607,10 +613,6 @@ var DataPrototype = {
|
|||||||
mode = mode == null ? 'before' : mode
|
mode = mode == null ? 'before' : mode
|
||||||
}
|
}
|
||||||
|
|
||||||
// get the loaded group gid...
|
|
||||||
var x = this.getLoadedInGroup(target)
|
|
||||||
target = x != null ? x : target
|
|
||||||
|
|
||||||
var i = this.order.indexOf(target)
|
var i = this.order.indexOf(target)
|
||||||
|
|
||||||
// invalid gid...
|
// invalid gid...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user