comparison client/digitallibrary/jquery/jquery.digilib.js @ 681:a6dfb2f2fd22 jquery

'one' is wrong for embedded mode
author hertzhaft
date Wed, 26 Jan 2011 01:40:43 +0100
parents 8ce4ec381f87
children 96a0395d6fb9
comparison
equal deleted inserted replaced
680:8ce4ec381f87 681:a6dfb2f2fd22
1061 $birdZoom.bind("mousemove.digilib", birdZoomMove); 1061 $birdZoom.bind("mousemove.digilib", birdZoomMove);
1062 $birdZoom.bind("mouseup.digilib", birdZoomEndDrag); 1062 $birdZoom.bind("mouseup.digilib", birdZoomEndDrag);
1063 return false; 1063 return false;
1064 }; 1064 };
1065 1065
1066 $birdImg.one("mousedown.digilib", birdZoomStartDrag); 1066 $birdImg.bind("mousedown.digilib", birdZoomStartDrag);
1067 $birdZoom.one("mousedown.digilib", birdZoomStartDrag); 1067 $birdZoom.bind("mousedown.digilib", birdZoomStartDrag);
1068 }; 1068 };
1069 1069
1070 // sets a key to a value (relative values with +/- if relative=true) 1070 // sets a key to a value (relative values with +/- if relative=true)
1071 var setNumValue = function(settings, key, value) { 1071 var setNumValue = function(settings, key, value) {
1072 if (isNumber(value)) return settings[key] = value; 1072 if (isNumber(value)) return settings[key] = value;