From 8b8f2d59d79021d19cf870f159aab2d8aee54fed Mon Sep 17 00:00:00 2001 From: adam-p Date: Thu, 7 Oct 2010 14:47:28 -0400 Subject: [PATCH] Fixed erroneous attempt to use excanvas.js in IE9 --- dygraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dygraph.js b/dygraph.js index 4cdc196..29aebed 100644 --- a/dygraph.js +++ b/dygraph.js @@ -2497,7 +2497,7 @@ Dygraph.createCanvas = function() { var canvas = document.createElement("canvas"); isIE = (/MSIE/.test(navigator.userAgent) && !window.opera); - if (isIE) { + if (isIE && (typeof(G_vmlCanvasManager) != 'undefined')) { canvas = G_vmlCanvasManager.initElement(canvas); } -- 2.7.4