From 099cd917e4f5a0bfaebfe791d6fd76d49685b8fa Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 3 May 2013 04:24:26 +0400 Subject: [PATCH] minor cleanup... Signed-off-by: Alex A. Naanou --- ui/ImageGrid.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/ImageGrid.js b/ui/ImageGrid.js index e2ee8825..dc105bb3 100755 --- a/ui/ImageGrid.js +++ b/ui/ImageGrid.js @@ -323,7 +323,6 @@ function centerImage(image, mode){ // ...this is to be done in the loader... // NOTE: negative left or right will contract the ribbon... -// XXX need to adjust ribbon position to compensate for ribbon shift... function extendRibbon(left, right, ribbon){ ribbon = ribbon == null ? $('.current.image').closest('.ribbon') @@ -359,7 +358,7 @@ function extendRibbon(left, right, ribbon){ // compensate for the truncation... // XXX do we need to split this into a separate function? // ...the rest of the function if pretty generic... - // XXX for some odd reason this breaks in an unstable way when page + // XXX for some odd reason this behaves erratically when the page // is zoomed... if(left != 0){ var l = parseFloat(ribbon.css('left'))