diff --git a/pylons_app/public/js/graph.js b/pylons_app/public/js/graph.js --- a/pylons_app/public/js/graph.js +++ b/pylons_app/public/js/graph.js @@ -25,8 +25,8 @@ function BranchRenderer() { this.canvas = document.getElementById("graph_canvas"); - //if ($.browser.msie) - // this.canvas = window.G_vmlCanvasManager.initElement(this.canvas); + if (navigator.userAgent.indexOf('MSIE') >= 0) + this.canvas = window.G_vmlCanvasManager.initElement(this.canvas); this.ctx = this.canvas.getContext('2d'); this.ctx.strokeStyle = 'rgb(0, 0, 0)'; this.ctx.fillStyle = 'rgb(0, 0, 0)';