From 77fd8ef4dc9f471309d12baedf1d0c503e9e122c Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 8 Jun 2012 16:58:29 +0400 Subject: [PATCH] minor changes... Signed-off-by: Alex A. Naanou --- ui/gallery.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/ui/gallery.html b/ui/gallery.html index cf1400ae..677613cb 100755 --- a/ui/gallery.html +++ b/ui/gallery.html @@ -125,10 +125,9 @@ function loadImages(json){ $('.image').remove() for(var i = 0; i < images.length; i++){ - $('
') + $('
') .css({ - background : 'url('+images[i]+') no-repeat 50% black', - 'background-size': 'contain', + 'background-image': 'url('+images[i]+')' }) .click(handleClick) .appendTo(ribbon) @@ -426,7 +425,13 @@ function demoteImage(){