mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-31 19:30:07 +00:00
fixed bug with image shifting...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
099cd917e4
commit
ba687b5e46
@ -487,7 +487,7 @@ function _shiftImageTo(image, direction, moving, force_create_ribbon, mode){
|
|||||||
var b = moving == 'prev' ? 'nextAll' : 'prevAll'
|
var b = moving == 'prev' ? 'nextAll' : 'prevAll'
|
||||||
var target = image[a]('.image' + mode).first()
|
var target = image[a]('.image' + mode).first()
|
||||||
|
|
||||||
target = target.length == 0 ? image[b]() : target
|
target = target.length == 0 ? image[b]().first() : target
|
||||||
|
|
||||||
// XXX should this be in here or coupled later via an event???
|
// XXX should this be in here or coupled later via an event???
|
||||||
flashIndicator(direction)
|
flashIndicator(direction)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user