fix (Gridster.js): destroy resize_api

Call  resize_api.destroy()  to fix  memory leak.
This commit is contained in:
jcp
2014-12-01 21:12:42 +01:00
parent 314037471f
commit 0fe7f23c98
+4
View File
@@ -3118,6 +3118,10 @@
this.drag_api.destroy();
}
if (this.resize_api) {
this.resize_api.destroy();
}
this.remove_style_tags();
remove && this.$el.remove();