|
|
@ -123,6 +123,7 @@
|
|
|
|
$(window).bind('mouseup', imgMouseUp);
|
|
|
|
$(window).bind('mouseup', imgMouseUp);
|
|
|
|
el.bind('mousewheel DOMMouseScroll', zoomImage);
|
|
|
|
el.bind('mousewheel DOMMouseScroll', zoomImage);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
obj.image.crossOrigin = 'Anonymous';
|
|
|
|
obj.image.src = options.imgSrc;
|
|
|
|
obj.image.src = options.imgSrc;
|
|
|
|
el.on('remove', function(){$(window).unbind('mouseup', imgMouseUp)});
|
|
|
|
el.on('remove', function(){$(window).unbind('mouseup', imgMouseUp)});
|
|
|
|
|
|
|
|
|
|
|
|