Commit c97bf1eb authored by olau@iola.dk's avatar olau@iola.dk

Use = null rather that delete to clear out excanvas context (problem

reported by ryleyb)


git-svn-id: https://flot.googlecode.com/svn/trunk@291 1e0a6537-2640-0410-bfb7-f154510ff394
parent 3dd4b4aa
...@@ -704,7 +704,7 @@ ...@@ -704,7 +704,7 @@
// the state on them manually // the state on them manually
if (window.G_vmlCanvasManager) if (window.G_vmlCanvasManager)
placeholder.find("canvas").each(function () { placeholder.find("canvas").each(function () {
delete this.context_; this.context_ = null;
}); });
placeholder.html(""); // clear placeholder placeholder.html(""); // clear placeholder
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment