wrong way to check if cachel exists... size of first element (with
authorEugene Crosser <crosser@average.org>
Fri, 5 Sep 2008 13:12:33 +0000 (13:12 +0000)
committerEugene Crosser <crosser@average.org>
Fri, 5 Sep 2008 13:12:33 +0000 (13:12 +0000)
zero 'id' field) was not calculating

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',