summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-27 22:48:43 +0400
committerAndrew Dolgov <[email protected]>2013-02-27 22:48:43 +0400
commitc22580b55f959c8deaebf9aa3a7895c7795df75d (patch)
tree27fcb5b13504e5b90cc75a2dce470fc9ad85bf29 /include
parent104e5c6557707b13307802dd3b9c87d0209d4a92 (diff)
implement classic next/prev article movement behavior, bind to ctrl-arrows
Diffstat (limited to 'include')
-rw-r--r--include/functions.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 979a28761..8db72f56d 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1859,6 +1859,8 @@
"prev_feed" => __("Open previous feed"),
"next_article" => __("Open next article"),
"prev_article" => __("Open previous article"),
+ "next_article_noscroll" => __("Open next article (don't scroll long articles)"),
+ "prev_article_noscroll" => __("Open previous article (don't scroll long articles)"),
"search_dialog" => __("Show search dialog")),
__("Article") => array(
"toggle_mark" => __("Toggle starred"),
@@ -1919,6 +1921,8 @@
"p" => "prev_article",
"(38)|up" => "prev_article",
"(40)|down" => "next_article",
+ "^(38)|Ctrl-up" => "prev_article_noscroll",
+ "^(40)|Ctrl-down" => "next_article_noscroll",
"(191)|/" => "search_dialog",
// "article" => array(
"s" => "toggle_mark",