fixed minor bug with keyboard handler...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-01-29 21:41:26 +04:00
parent f4748a5924
commit e0f1d117a5
3 changed files with 3 additions and 0 deletions

1
jli.js
View File

@ -257,6 +257,7 @@ function makeKeyboardHandler(keybindings, unhandled){
var key = evt.keyCode
if(bindings.ignore != null && bindings.ignore.indexOf(key) != -1){
// return true
res = res == null ? true : res
did_handling = true
continue
}

View File

@ -12,6 +12,7 @@ var keybindings = {
116, // F5
122, // F11
123, // F12
8 // BkSp
],
// togglable modes and options...

View File

@ -29,6 +29,7 @@ var DRAG_FULL_PAGE = true
var USE_REAL_PAGE_SIZES = false
/*********************************************************************/
// toggles .dragging CSS class on the viewer while dragging is in
// progress.