From c97bf1eb71ef9a067d79d9116b36852c1ae15c2b Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Wed, 26 Jan 2011 12:45:57 +0000 Subject: [PATCH] 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 --- jquery.flot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.flot.js b/jquery.flot.js index 604119a..52cbe82 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -704,7 +704,7 @@ // the state on them manually if (window.G_vmlCanvasManager) placeholder.find("canvas").each(function () { - delete this.context_; + this.context_ = null; }); placeholder.html(""); // clear placeholder