We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0b51903 + 60dfed6 commit 22e4ddcCopy full SHA for 22e4ddc
jspdf.plugin.sillysvgrenderer.js
@@ -44,7 +44,7 @@ jsPDFAPI.addSVG = function(svgtext, x, y, w, h) {
44
45
var undef
46
47
- if (x === undef || x === undef) {
+ if (x === undef || y === undef) {
48
throw new Error("addSVG needs values for 'x' and 'y'");
49
}
50
0 commit comments