Skip to content

Commit

Permalink
Small fix for svg rendering script
Browse files Browse the repository at this point in the history
  • Loading branch information
Salem Talha committed Jun 19, 2014
1 parent 75d18af commit 60dfed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jspdf.plugin.sillysvgrenderer.js
Expand Up @@ -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'");
}

Expand Down

0 comments on commit 60dfed6

Please sign in to comment.