Permalink
Browse files

image floating

  • Loading branch information...
1 parent 9c70e27 commit 7ab98a3e270560820ff248517a6e726a4e4df5aa @woolfg woolfg committed Jun 27, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 jspdf.plugin.from_html.js
@@ -364,6 +364,8 @@
if ((renderer.pdf.internal.pageSize.height - renderer.pdf.margins_doc.bottom < renderer.y + cn.height) && (renderer.y > renderer.pdf.margins_doc.top)) {
renderer.pdf.addPage();
renderer.y = renderer.pdf.margins_doc.top;
+ //check if we have to set back some values due to e.g. header rendering for new page
+ renderer.executeWatchFunctions(cn);
}
var imagesCSS = GetCSS(cn);

0 comments on commit 7ab98a3

Please sign in to comment.