|
|
@ -1010,6 +1010,16 @@ function hotkey_handler(e) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (shift_key && (keycode == 78 || keycode == 40)) { // shift - n, down
|
|
|
|
|
|
|
|
catchupRelativeToArticle(1);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (shift_key && (keycode == 80 || keycode == 38)) { // shift - p, up
|
|
|
|
|
|
|
|
catchupRelativeToArticle(0);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (keycode == 78 || keycode == 40) { // n, down
|
|
|
|
if (keycode == 78 || keycode == 40) { // n, down
|
|
|
|
if (typeof moveToPost != 'undefined') {
|
|
|
|
if (typeof moveToPost != 'undefined') {
|
|
|
|
moveToPost('next');
|
|
|
|
moveToPost('next');
|
|
|
|