From a8a24f04b7380bc9bfe7b70eb3018d78dcdb4b61 Mon Sep 17 00:00:00 2001 From: "z.ky" Date: Thu, 19 Feb 2015 14:47:53 +0000 Subject: [PATCH] Fix right alignment in table cells --- jspdf.plugin.cell.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/jspdf.plugin.cell.js b/jspdf.plugin.cell.js index b56a19b8a..e38abf97a 100644 --- a/jspdf.plugin.cell.js +++ b/jspdf.plugin.cell.js @@ -124,12 +124,13 @@ this.rect(x, y, w, h); } if (align === 'right') { - if (txt instanceof Array) { - for(var i = 0; i