]> www.average.org Git - mkgallery.git/blobdiff - include/show.js
wrong way to check if cachel exists... size of first element (with
[mkgallery.git] / include / show.js
index fdce267134ed1d277c017a40876f49d2e4a9e571..2d5f5b168255cd2bd0cfe0de0b11a9065d76da3a 100644 (file)
@@ -284,7 +284,7 @@ var Show = new Class({
        },
 
        calcsize: function(cachel){
-               if (! cachel.id) {
+               if (! cachel.url) {
                        return {
                                position: 'absolute',
                                top: 0+'px',