From 40dc097ebd4aca5b4ac8484042279c19c2d9a6d4 Mon Sep 17 00:00:00 2001 From: Daniel Bonniot Date: Wed, 3 Jul 2013 11:22:42 +0200 Subject: [PATCH] https://github.com/coolwanglu/pdf2htmlEX/issues/180 Better name for the key handler. --- share/pdf2htmlEX.js.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/pdf2htmlEX.js.in b/share/pdf2htmlEX.js.in index 2fe571b..2c963aa 100644 --- a/share/pdf2htmlEX.js.in +++ b/share/pdf2htmlEX.js.in @@ -164,7 +164,7 @@ var pdf2htmlEX = (function(){ //this.zoom_fixer(); - this.add_key_handler(); + this.navigation_key_handler(); // handle links this.$container.add(this.$outline).on('click', '.'+CSS_CLASS_NAMES['link'], this, this.link_handler); @@ -325,7 +325,7 @@ var pdf2htmlEX = (function(){ }); }, - add_key_handler : function () { + navigation_key_handler : function () { var _ = this; $(window).on('keydown', function keydown(e) {