mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-12-19 09:41:40 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
53f06951f7
commit
14710e2996
@ -273,7 +273,8 @@ $(function(){
|
|||||||
|
|
||||||
// need to load a new set of images...
|
// need to load a new set of images...
|
||||||
if((img_before.length == 0 && gid_before != null)
|
if((img_before.length == 0 && gid_before != null)
|
||||||
|| (getImageGID(img_before) && getImageGID(img_before) != gid_before)){
|
|| (getImageGID(img_before)
|
||||||
|
&& getImageGID(img_before) != gid_before)){
|
||||||
// get the distance...
|
// get the distance...
|
||||||
var images = ribbon.find('.image')
|
var images = ribbon.find('.image')
|
||||||
var cur = getImageGID(images.eq(Math.round(images.length/2)))
|
var cur = getImageGID(images.eq(Math.round(images.length/2)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user