Skip to content

Commit 22e4ddc

Browse files
committed
Merge pull request #285 from salemtalha/fix_small_typo
Small fix for svg rendering script
2 parents 0b51903 + 60dfed6 commit 22e4ddc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jspdf.plugin.sillysvgrenderer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jsPDFAPI.addSVG = function(svgtext, x, y, w, h) {
4444

4545
var undef
4646

47-
if (x === undef || x === undef) {
47+
if (x === undef || y === undef) {
4848
throw new Error("addSVG needs values for 'x' and 'y'");
4949
}
5050

0 commit comments

Comments
 (0)