diff --git a/static/js/app.js b/static/js/app.js index 5b1eb5d..7b27abe 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -2965,16 +2965,6 @@ async function openBook(bookId) { // Apply reader settings (theme, font size, etc.) applyReaderSettings(isPdfBook); - // Enable PDF paginated mode if configured (auto on mobile) - if (isPdfBook && readerSettings.pdfPaginated) { - enterPdfPaginatedMode(); - } - - // Wire highlight selection listener for EPUB - if (!isPdfBook) { - contentEl.addEventListener('mouseup', handleReaderSelection); - } - // Swipe for PDF paginated contentEl.addEventListener('touchstart', e => { _touchStartX = e.touches[0].clientX; }, {passive: true}); contentEl.addEventListener('touchend', e => { @@ -3387,7 +3377,6 @@ function toggleSettingsPanel() { panel.innerHTML = ` - `; } @@ -3459,16 +3448,6 @@ function toggleSettingsPanel() { saveReaderSettings(); }); - panel.querySelector('#rs-paginated').addEventListener('click', function () { - readerSettings.pdfPaginated = !readerSettings.pdfPaginated; - this.classList.toggle('active', readerSettings.pdfPaginated); - saveReaderSettings(); - if (readerSettings.pdfPaginated) { - enterPdfPaginatedMode(); - } else { - exitPdfPaginatedMode(); - } - }); } }