diff client/digitallibrary/jquery/jquery.digilib.js @ 864:e5caceb1832b jquery

hide arrows if not needed
author hertzhaft
date Sat, 12 Mar 2011 23:41:40 +0100
parents ca2c022a9baa
children 5396529b3f46
line wrap: on
line diff
--- a/client/digitallibrary/jquery/jquery.digilib.js	Sat Mar 12 21:58:06 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.digilib.js	Sat Mar 12 23:41:40 2011 +0100
@@ -1117,6 +1117,8 @@
 
     // size and show arrow overlays, called after scaler img is loaded
     var renderZoomArrows = function (data) {
+        if (!data.settings.zoomArrows) return;
+        if (isFullArea(data)) return;
         var $arrows = data.$arrows;
         var r = FULL_AREA.copy();
         r.height = 0.05;