From 7a30c347a23146c5523ed05b76a463bd015bbe8c Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 7 Jun 2012 02:27:26 +0400 Subject: [PATCH] updated comments and notices... Signed-off-by: Alex A. Naanou --- ui/gallery.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ui/gallery.html b/ui/gallery.html index 5fa06e7f..6100235c 100755 --- a/ui/gallery.html +++ b/ui/gallery.html @@ -88,7 +88,6 @@ var keys = { function handleKeys(event){ var code = event.keyCode, fn = $.inArray; - // XXX var _ = (fn(code, keys.closeKeys) >= 0) ? function(){}() : (fn(code, keys.nextKeys) >= 0) ? nextImage() : (fn(code, keys.previousKeys) >= 0) ? prevImage() @@ -136,7 +135,6 @@ function toggleWideView(){ $('.wide-view-mode') .removeClass('wide-view-mode') .one("webkitTransitionEnd oTransitionEnd msTransitionEnd transitionend", function(){ - // XXX does not animate... $('.current-image').click() return true }); @@ -148,7 +146,6 @@ function toggleWideView(){ .not('.wide-view-mode') .addClass('wide-view-mode') .one("webkitTransitionEnd oTransitionEnd msTransitionEnd transitionend", function(){ - // XXX does not animate... $('.current-image').click() return true }); @@ -180,7 +177,6 @@ function focusBelowRibbon(){ // create ribbon above/below helpers... -// XXX function createRibbonAbove(){ return $('
') .insertBefore('.current-ribbon') @@ -238,7 +234,7 @@ function promoteImage(){ } // XXX sort elements correctly... if($('.current-ribbon').children('.image').length == 1){ - // XXX this adds image to the head while thebelow portion adds it to the tail... + // XXX this adds image to the head while the below portion adds it to the tail... mergeRibbonsDown() } else { img = $('.current-image') @@ -327,7 +323,7 @@ function demoteImage(){ .ribbon { height: 360px; - /* XXX make this expand correctly */ + /* XXX make this expand dynamically */ width: 8000px; overflow: visible; padding-top: 2px; @@ -389,6 +385,7 @@ function demoteImage(){ opacity: 1.0; } + /* wide view mode */ /* XXX not yet working correctly...