From 70ce34b35303ece7506bdda4de28a37d5e7e98fa Mon Sep 17 00:00:00 2001 From: j Date: Tue, 22 Jan 2019 18:19:35 +0530 Subject: [PATCH] disable next page keyboard shortcut --- pdf.js/viewer.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pdf.js/viewer.js b/pdf.js/viewer.js index 0824110..87f8762 100644 --- a/pdf.js/viewer.js +++ b/pdf.js/viewer.js @@ -7861,11 +7861,6 @@ window.addEventListener('keydown', function keydown(evt) { break; } /* falls through */ - case 74: // 'j' - case 78: // 'n' - PDFViewerApplication.page++; - handled = true; - break; case 36: // home if (isViewerInPresentationMode || PDFViewerApplication.page > 1) {