diff client/digitallibrary/jquery/jquery.digilib.js @ 729:aee08dbfccae jquery

no bird zoom drag if scaler image is not zoomed
author hertzhaft
date Tue, 01 Feb 2011 14:59:15 +0100
parents 84ad95fd3202
children d69a72e8562f
line wrap: on
line diff
--- a/client/digitallibrary/jquery/jquery.digilib.js	Tue Feb 01 12:46:22 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.digilib.js	Tue Feb 01 14:59:15 2011 +0100
@@ -1324,6 +1324,7 @@
 
         var birdZoomStartDrag = function(evt) {
             // mousedown handler: start dragging bird zoom to a new position
+            if (isFullArea(data.zoomArea)) return false;
             startPos = geom.position(evt);
             birdImgRect = geom.rectangle($birdImg);
             birdZoomRect = geom.rectangle($birdZoom);