mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor tweeks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f574e9d286
commit
eeaa4d1c11
@ -1058,14 +1058,15 @@ function setupEvents(){
|
||||
if(updated){
|
||||
ImageGrid.saveState()
|
||||
updated = false
|
||||
}}, 120000)
|
||||
}},
|
||||
// check every 2 minutes...
|
||||
2*60*1000)
|
||||
// autosave every ten minutes...
|
||||
// XXX do we really need this?
|
||||
//setInterval(ImageGrid.saveState, 600000)
|
||||
|
||||
// resize...
|
||||
$(window).resize(function() {
|
||||
// XXX HACK
|
||||
$('.current.image').click()
|
||||
})
|
||||
// keyboard...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user