From 25e1f09f32d0eca33acc6822f2a32a7ec27fbbde Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Mon, 12 Sep 2016 15:21:21 +0200 Subject: [PATCH] #1067, add method detection to renderfix function --- dev/raphael.svg.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev/raphael.svg.js b/dev/raphael.svg.js index 727b8d70..31e89379 100644 --- a/dev/raphael.svg.js +++ b/dev/raphael.svg.js @@ -1362,6 +1362,9 @@ define(["./raphael.core"], function(R) { var cnvs = this.canvas, s = cnvs.style, pos; + if(!(cnvs.getScreenCTM || cnvs.createSVGMatrix)){ + return; + } try { pos = cnvs.getScreenCTM() || cnvs.createSVGMatrix(); } catch (e) {