Mercurial > hg > digilib
changeset 674:0698b6b32b9b jquery
'one' is wrong for embedded mode
author | hertzhaft |
---|---|
date | Wed, 26 Jan 2011 01:40:43 +0100 |
parents | 05a17fdd37a8 |
children | 5c7f90a3c552 be25ae34b04d |
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)