Open DrLulz opened 9 years ago
Try this:
var options = {callback:
function(){
$(this).on('touchend', function(){
$(this).parent().trigger('zoom.destroy').zoom(options);
});
}
};
$('img').parent().zoom(options);
Hello.
The first example works as expected, but once touchend has been called further zooming is disabled.
The second example needs two touches two initiate the zoom, but otherwise works as expected.
Any help is most appreciated.