diff client/digitallibrary/jquery/jquery.digilib.js @ 722:a8a3b92bb963 jquery

no bird zoom drag if scaler image is not zoomed
author hertzhaft
date Tue, 01 Feb 2011 14:59:15 +0100
parents aaaf0a5ada66
children 7ab46d84be32
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);