diff --git a/src/jquery.coords.js b/src/jquery.coords.js index e3bd5e65d..58a707265 100644 --- a/src/jquery.coords.js +++ b/src/jquery.coords.js @@ -93,6 +93,10 @@ return this.coords; }; + fn.destroy = function() { + this.el.removeData('coords'); + delete this.el; + }; //jQuery adapter $.fn.coords = function() {