Mercurial > hg > digilib-old
comparison client/digitallibrary/jquery/jquery.digilib.js @ 736:54928116a7b2 jquery
merge
author | hertzhaft |
---|---|
date | Wed, 02 Feb 2011 00:25:49 +0100 |
parents | 790a7673bef0 609e5bf29d1a |
children | 7c93bdbb5153 |
comparison
equal
deleted
inserted
replaced
735:790a7673bef0 | 736:54928116a7b2 |
---|---|
1368 }; | 1368 }; |
1369 | 1369 |
1370 // mouseup handler: reload zoomed image in new position | 1370 // mouseup handler: reload zoomed image in new position |
1371 var dragEnd = function (evt) { | 1371 var dragEnd = function (evt) { |
1372 $scaler.css({ | 1372 $scaler.css({ |
1373 'background-image' : 'none', | |
1374 'cursor' : 'default' | 1373 'cursor' : 'default' |
1375 }); | 1374 }); |
1376 $document.unbind("mousemove.dlZoomDrag", dragMove); | 1375 $document.unbind("mousemove.dlZoomDrag", dragMove); |
1377 $document.unbind("mouseup.dlZoomDrag", dragEnd); | 1376 $document.unbind("mouseup.dlZoomDrag", dragEnd); |
1378 if (delta == null || delta.distance() < 2) { | 1377 if (delta == null || delta.distance() < 2) { |