Skip to content

Commit 22e4ddc

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jspdf.plugin.sillysvgrenderer.js

Lines changed: 1 addition & 1 deletion
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)