1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00
Better name for the key handler.
This commit is contained in:
Daniel Bonniot 2013-07-03 11:22:42 +02:00
parent 316d547ac0
commit 40dc097ebd

View File

@ -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) {