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'"); }