fixed bug with image shifting...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-05-03 04:30:39 +04:00
parent 099cd917e4
commit ba687b5e46

View File

@ -487,7 +487,7 @@ function _shiftImageTo(image, direction, moving, force_create_ribbon, mode){
var b = moving == 'prev' ? 'nextAll' : 'prevAll'
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???
flashIndicator(direction)