changeset 660:e1103bd09f57 jquery

forgot to uncomment a line
author hertzhaft
date Sat, 22 Jan 2011 00:29:06 +0100
parents 9da101c94465
children 68bf2f2953d0
files client/digitallibrary/jquery/jquery-test-full.html client/digitallibrary/jquery/jquery.digilib.js
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/jquery/jquery-test-full.html	Sat Jan 22 00:26:43 2011 +0100
+++ b/client/digitallibrary/jquery/jquery-test-full.html	Sat Jan 22 00:29:06 2011 +0100
@@ -71,12 +71,6 @@
                 z-index: 1000;
                 }
 
-            div.birdzoom {
-                border-width: 2px;
-                border-style: solid;
-                border-color: yellow;
-                }
-
         </style>
 
         <script type="text/javascript" src="jquery-1.4.4.js"></script>
--- a/client/digitallibrary/jquery/jquery.digilib.js	Sat Jan 22 00:26:43 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.digilib.js	Sat Jan 22 00:29:06 2011 +0100
@@ -767,7 +767,7 @@
         var $ind = data.$birdDiv.find('div.birdzoom');
         var zoomArea = data.zoomArea;
         var indRect = data.birdTrafo.transform(zoomArea);
-        //if (isFullArea(zoomArea)) return $ind.hide(); 
+        if (isFullArea(zoomArea)) return $ind.hide(); 
         // TODO: set the coordinates all in one call?
         $ind.width(indRect.width);
         $ind.height(indRect.height);