mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
some tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bb23f1563a
commit
bbfc9dfad4
@ -699,7 +699,8 @@ function updateImage(image, gid, size){
|
||||
|
||||
|
||||
var UPDATE_SORT_ENABLED = false
|
||||
var UPDATE_SYNC = false
|
||||
// XXX for some reason the sync version appears to work faster...
|
||||
var UPDATE_SYNC = true
|
||||
|
||||
// Same as updateImage(...) but will update all images.
|
||||
//
|
||||
@ -745,7 +746,7 @@ function updateImages(size, cmp){
|
||||
return deferred
|
||||
}
|
||||
|
||||
/*
|
||||
/* XXX for some very odd reason this is slower that the monster above...
|
||||
function updateImages(size){
|
||||
size = size == null ? getVisibleImageSize('max') : size
|
||||
return $('.image')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user