mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 19:20:09 +00:00
fixed an issue with the keyboard mappings...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
64fe22fe3c
commit
f4748a5924
@ -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
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user