From eeaa4d1c11f757cfbfde2064ef38fe2fb8b22539 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 3 Sep 2012 04:03:07 +0400 Subject: [PATCH] minor tweeks... Signed-off-by: Alex A. Naanou --- ui/gallery-prototype.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/gallery-prototype.js b/ui/gallery-prototype.js index 869f2d6e..7851ca27 100755 --- a/ui/gallery-prototype.js +++ b/ui/gallery-prototype.js @@ -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...