changeset 681:a6dfb2f2fd22 jquery

'one' is wrong for embedded mode
author hertzhaft
date Wed, 26 Jan 2011 01:40:43 +0100
parents 8ce4ec381f87
children 96a0395d6fb9 9fd58697ddc6
files client/digitallibrary/jquery/jquery.digilib.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/jquery/jquery.digilib.js	Wed Jan 26 01:35:56 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.digilib.js	Wed Jan 26 01:40:43 2011 +0100
@@ -1063,8 +1063,8 @@
             return false;
         };
 
-        $birdImg.one("mousedown.digilib", birdZoomStartDrag);
-        $birdZoom.one("mousedown.digilib", birdZoomStartDrag);
+        $birdImg.bind("mousedown.digilib", birdZoomStartDrag);
+        $birdZoom.bind("mousedown.digilib", birdZoomStartDrag);
     };
 
     // sets a key to a value (relative values with +/- if relative=true)