jackmoore / zoom

jQuery plugin for zooming images on mouseover.
http://www.jacklmoore.com/zoom/
MIT License
1.54k stars 460 forks source link

fix zoom.destroy in .onload trap fixes jackmoore/zoom#83 #85

Closed ppowalowski closed 7 years ago

ppowalowski commented 9 years ago

As stated in #83 zoom.destroy runs into a trap due to onload handler not being unset through $img.remove(). This is simply fixed by unsetting it 'manually'

Not sure if also solves #57

Also look at #84 for smoother and more consistent collaboration when creating PRs

jackmoore commented 7 years ago

Forgot to close this. Thanks again for the ticket and pull request, should be resolved now.