From 60dfed6c5eb427e21672a8bd908a0b5907dfc870 Mon Sep 17 00:00:00 2001 From: Salem Talha Date: Thu, 19 Jun 2014 13:56:03 -0700 Subject: [PATCH] Small fix for svg rendering script --- jspdf.plugin.sillysvgrenderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jspdf.plugin.sillysvgrenderer.js b/jspdf.plugin.sillysvgrenderer.js index cb95c0c3b..64993b9e4 100644 --- a/jspdf.plugin.sillysvgrenderer.js +++ b/jspdf.plugin.sillysvgrenderer.js @@ -44,7 +44,7 @@ jsPDFAPI.addSVG = function(svgtext, x, y, w, h) { var undef - if (x === undef || x === undef) { + if (x === undef || y === undef) { throw new Error("addSVG needs values for 'x' and 'y'"); }