Merge pull request #15 from scintill/patch-pagebreak
Fix bug with "Addresses per page" == 1
This commit is contained in:
commit
39cdf7e33c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue