|
@@ -2628,7 +2628,7 @@ const PDFViewerApplication = {
|
|
|
passive: false
|
|
|
});
|
|
|
window.addEventListener("click", webViewerClick);
|
|
|
- window.addEventListener("keydown", webViewerKeyDown);
|
|
|
+ // window.addEventListener("keydown", webViewerKeyDown);
|
|
|
window.addEventListener("resize", _boundEvents.windowResize);
|
|
|
window.addEventListener("hashchange", _boundEvents.windowHashChange);
|
|
|
window.addEventListener("beforeprint", _boundEvents.windowBeforePrint);
|
|
@@ -2698,7 +2698,7 @@ const PDFViewerApplication = {
|
|
|
passive: false
|
|
|
});
|
|
|
window.removeEventListener("click", webViewerClick);
|
|
|
- window.removeEventListener("keydown", webViewerKeyDown);
|
|
|
+ // window.removeEventListener("keydown", webViewerKeyDown);
|
|
|
window.removeEventListener("resize", _boundEvents.windowResize);
|
|
|
window.removeEventListener("hashchange", _boundEvents.windowHashChange);
|
|
|
window.removeEventListener("beforeprint", _boundEvents.windowBeforePrint);
|
|
@@ -6646,7 +6646,7 @@ class PDFPresentationMode {
|
|
|
window.addEventListener("wheel", this.mouseWheelBind, {
|
|
|
passive: false
|
|
|
});
|
|
|
- window.addEventListener("keydown", this.resetMouseScrollStateBind);
|
|
|
+ // window.addEventListener("keydown", this.resetMouseScrollStateBind);
|
|
|
window.addEventListener("contextmenu", this.contextMenuBind);
|
|
|
window.addEventListener("touchstart", this.touchSwipeBind);
|
|
|
window.addEventListener("touchmove", this.touchSwipeBind);
|