fixed an issue with the keyboard mappings...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-01-29 21:36:19 +04:00
parent 64fe22fe3c
commit f4748a5924
2 changed files with 6 additions and 2 deletions

View File

@ -64,14 +64,16 @@ var keybindings = {
'ctrl': prevArticle, // ctrl-Right
'shift': prevBookmark // shift-Right
},
8: 37, // BkSp
188: 37, // <
39: {
'default': nextPage, // Left
'ctrl': nextArticle, // ctrl-Left
'shift': nextBookmark // shift-Left
},
32: 39, // Space
32: {
'default': nextPage, // Space
'shift': prevPage // shift-Space
},
190: 39, // >
66: toggleBookmark, // B

View File

@ -772,6 +772,8 @@ function removeBookmarkIndicator(n){
/********************************************************** editor ***/
// XXX some things get really surprized when this is called, make things
// work with the mag cleared...
function clearMagazine(){
// XXX do we remove the whole magazine or only it's contents?
$('.magazine').remove()