benlumley/jQuery-PanZoom — Issue #7: Destroy breaks with draggable
Author: joe27stars
Created: 2012-01-16 10:47:15+00:00
State: open

When you call the destroy function, it unbinds the panZoom element, and removes the data for it. However, it doesn't remove the drag handler for panZoom.

For me, adding the line
this.draggable("destroy");

in the destroy function appears to fix it.