Open ghost opened 7 years ago
nice eyes 👍
I think you have a older version of the plugin. Could you cross-check your issue against the latest code?
The newer version looks like this:
//if tint enabled - set an image to show over the tint
self.zoomTintImage = $('<img src="' + self.$elem.attr('src') + '">')
.css({
position: 'absolute',
top: 0,
left: 0,
height: self.nzHeight,
width: self.nzWidth,
maxWidth: 'none'
})
.appendTo(self.zoomLens)
.click(function () {
self.$elem.trigger('click');
});