remove comments/format

This commit is contained in:
2025-10-07 23:31:37 +11:00
parent e6c9429466
commit 4feae96511

View File

@@ -614,9 +614,7 @@ function isLastPage(pageNumber)
function getPageNumberForId(id) {
const idx = entryList.indexOf(id);
// should be impossible but jic
if (idx === -1) {
return -1; // or null, if you prefer
}
if (idx === -1) { return -1 }
return Math.floor(idx / OPT.how_many) + 1;
}