mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
Better name for the key handler.
This commit is contained in:
parent
316d547ac0
commit
40dc097ebd
@ -164,7 +164,7 @@ var pdf2htmlEX = (function(){
|
|||||||
|
|
||||||
//this.zoom_fixer();
|
//this.zoom_fixer();
|
||||||
|
|
||||||
this.add_key_handler();
|
this.navigation_key_handler();
|
||||||
|
|
||||||
// handle links
|
// handle links
|
||||||
this.$container.add(this.$outline).on('click', '.'+CSS_CLASS_NAMES['link'], this, this.link_handler);
|
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;
|
var _ = this;
|
||||||
|
|
||||||
$(window).on('keydown', function keydown(e) {
|
$(window).on('keydown', function keydown(e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user