This commit is contained in:
Joey Hewitt 2013-04-14 07:36:17 -07:00
commit 15fe8a2f97

View file

@ -6467,7 +6467,7 @@
}
if (paperArea.innerHTML != "") {
// page break
if (i % pageBreakAt == 1 && ninja.wallets.paperwallet.count >= pageBreakAt) {
if ((i-1) % pageBreakAt == 0 && i >= pageBreakAt) {
var pBreak = document.createElement("div");
pBreak.setAttribute("class", "pagebreak");
document.getElementById("paperkeyarea").appendChild(pBreak);