mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 20:00:10 +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
|
||||
}
|
||||
|
||||
// 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...
|
||||
if(target == 'current'){
|
||||
target = this.current
|
||||
@ -607,10 +613,6 @@ var DataPrototype = {
|
||||
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)
|
||||
|
||||
// invalid gid...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user