From 4feae9651122f2dfa00feb1d5db2ad181bffb4ca Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Tue, 7 Oct 2025 23:31:37 +1100 Subject: [PATCH] remove comments/format --- internal/js/files_support.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/js/files_support.js b/internal/js/files_support.js index 62fb546..f27bab0 100644 --- a/internal/js/files_support.js +++ b/internal/js/files_support.js @@ -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; }