mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 11:50:07 +00:00
some cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
675469caa7
commit
0b2b58878a
@ -1423,7 +1423,6 @@ function loadImagesAround(count, gid, ribbon, data){
|
||||
// XXX NOTE: we use || instead of && here to compensate for an oddity
|
||||
// in getCommonSubArrayOffsets(...), see it for further details...
|
||||
if(left == null || right == null){
|
||||
console.log('>>> Ribbon ', ribbon, 'reloading...')
|
||||
var n = new_ribbon.indexOf(gid)
|
||||
var o = old_ribbon.indexOf(gid)
|
||||
o = o < 0 ? n : o
|
||||
@ -1443,9 +1442,6 @@ function loadImagesAround(count, gid, ribbon, data){
|
||||
|
||||
// partial reload...
|
||||
} else {
|
||||
console.log('>>> Ribbon ', ribbon, 'updating...')
|
||||
console.log(' left:', left,
|
||||
'right:', right)
|
||||
var res = extendRibbon(left, right, ribbon_elem)
|
||||
// XXX this will get all the current images, not the resulting ones...
|
||||
var images = ribbon_elem.find('.image')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user