Mercurial > hg > digilib-old
comparison client/digitallibrary/jquery/jquery.digilib.js @ 660:e1103bd09f57 jquery
forgot to uncomment a line
author | hertzhaft |
---|---|
date | Sat, 22 Jan 2011 00:29:06 +0100 |
parents | 9da101c94465 |
children | 68bf2f2953d0 |
comparison
equal
deleted
inserted
replaced
659:9da101c94465 | 660:e1103bd09f57 |
---|---|
765 | 765 |
766 var renderBirdArea = function (data) { | 766 var renderBirdArea = function (data) { |
767 var $ind = data.$birdDiv.find('div.birdzoom'); | 767 var $ind = data.$birdDiv.find('div.birdzoom'); |
768 var zoomArea = data.zoomArea; | 768 var zoomArea = data.zoomArea; |
769 var indRect = data.birdTrafo.transform(zoomArea); | 769 var indRect = data.birdTrafo.transform(zoomArea); |
770 //if (isFullArea(zoomArea)) return $ind.hide(); | 770 if (isFullArea(zoomArea)) return $ind.hide(); |
771 // TODO: set the coordinates all in one call? | 771 // TODO: set the coordinates all in one call? |
772 $ind.width(indRect.width); | 772 $ind.width(indRect.width); |
773 $ind.height(indRect.height); | 773 $ind.height(indRect.height); |
774 // offset minus frame width | 774 // offset minus frame width |
775 $ind.offset({ left : indRect.x-2, top : indRect.y-2 }); | 775 $ind.offset({ left : indRect.x-2, top : indRect.y-2 }); |