Skip to content

Commit 60dfed6

Browse files
author
Salem Talha
committed
Small fix for svg rendering script
1 parent 75d18af commit 60dfed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)