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
|
'ctrl': prevArticle, // ctrl-Right
|
||||||
'shift': prevBookmark // shift-Right
|
'shift': prevBookmark // shift-Right
|
||||||
},
|
},
|
||||||
8: 37, // BkSp
|
|
||||||
188: 37, // <
|
188: 37, // <
|
||||||
39: {
|
39: {
|
||||||
'default': nextPage, // Left
|
'default': nextPage, // Left
|
||||||
'ctrl': nextArticle, // ctrl-Left
|
'ctrl': nextArticle, // ctrl-Left
|
||||||
'shift': nextBookmark // shift-Left
|
'shift': nextBookmark // shift-Left
|
||||||
},
|
},
|
||||||
32: 39, // Space
|
32: {
|
||||||
|
'default': nextPage, // Space
|
||||||
|
'shift': prevPage // shift-Space
|
||||||
|
},
|
||||||
190: 39, // >
|
190: 39, // >
|
||||||
|
|
||||||
66: toggleBookmark, // B
|
66: toggleBookmark, // B
|
||||||
|
|||||||
@ -772,6 +772,8 @@ function removeBookmarkIndicator(n){
|
|||||||
|
|
||||||
/********************************************************** editor ***/
|
/********************************************************** editor ***/
|
||||||
|
|
||||||
|
// XXX some things get really surprized when this is called, make things
|
||||||
|
// work with the mag cleared...
|
||||||
function clearMagazine(){
|
function clearMagazine(){
|
||||||
// XXX do we remove the whole magazine or only it's contents?
|
// XXX do we remove the whole magazine or only it's contents?
|
||||||
$('.magazine').remove()
|
$('.magazine').remove()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user