From: Eugene Crosser Date: Fri, 5 Sep 2008 13:12:33 +0000 (+0000) Subject: wrong way to check if cachel exists... size of first element (with X-Git-Tag: 2.00~2 X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=commitdiff_plain;h=5527f9d9dd107c49860360979bcea661d83039e2 wrong way to check if cachel exists... size of first element (with zero 'id' field) was not calculating --- diff --git a/include/show.js b/include/show.js index fdce267..2d5f5b1 100644 --- a/include/show.js +++ b/include/show.js @@ -284,7 +284,7 @@ var Show = new Class({ }, calcsize: function(cachel){ - if (! cachel.id) { + if (! cachel.url) { return { position: 'absolute', top: 0+'px',