comparison client/digitallibrary/jquery/jquery.digilib.js @ 729:0cdec312b783 jquery

merge
author hertzhaft
date Wed, 02 Feb 2011 00:25:49 +0100
parents 53584f90f66b 42b6b6cb0744
children 98a405711289
comparison
equal deleted inserted replaced
728:53584f90f66b 729:0cdec312b783
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) {