changeset 824:f0a5e4d2cba7 jquery

hide region when outside of zoomArea, not show
author hertzhaft
date Wed, 23 Feb 2011 02:24:00 +0100
parents 8af71d9d830b
children ba708c57e57c e4133946a9ad
files client/digitallibrary/jquery/jquery.digilib.regions.js
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/jquery/jquery.digilib.regions.js	Wed Feb 23 02:06:41 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.digilib.regions.js	Wed Feb 23 02:24:00 2011 +0100
@@ -282,7 +282,7 @@
             if (anim) {
                 $regionDiv.fadeOut();
             } else{
-                $regionDiv.show();
+                $regionDiv.hide();
             }
         }
     };
@@ -305,8 +305,6 @@
             var pos = r.split("/", 4);
             var rect = geom.rectangle(pos[0], pos[1], pos[2], pos[3]);
             regions.push(rect);
-            // TODO: backlink mechanism
-            // var url = paramString.match(/http.*$/);
             }
     };