summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorfox <[email protected]>2019-03-11 11:05:58 +0000
committerGogs <[email protected]>2019-03-11 11:05:58 +0000
commit63d7705b7fbe980bfc4e8c7f01b38e80b3c68928 (patch)
tree1ccf7b38576f9780cbeff4372fea16697ac1d9f8 /plugins
parent355723ca59a6bd92192aaf1ac606d846a3eb3359 (diff)
parente74f7bde22c469ca90316f7bd69a0ba5233f8bff (diff)
Merge branch 'hotkeys-keypress' of suraia/tt-rss into master
Diffstat (limited to 'plugins')
-rw-r--r--plugins/googlereaderkeys/init.php12
-rw-r--r--plugins/hotkeys_noscroll/init.php4
2 files changed, 8 insertions, 8 deletions
diff --git a/plugins/googlereaderkeys/init.php b/plugins/googlereaderkeys/init.php
index ca8b88516..4fb57ec94 100644
--- a/plugins/googlereaderkeys/init.php
+++ b/plugins/googlereaderkeys/init.php
@@ -24,11 +24,11 @@ class GoogleReaderKeys extends Plugin {
$hotkeys["r"] = "feed_refresh";
$hotkeys["m"] = "toggle_unread";
$hotkeys["o"] = "toggle_expand";
- $hotkeys["(13)|enter"] = "toggle_expand";
- $hotkeys["*(191)|?"] = "help_dialog";
- $hotkeys["(32)|space"] = "next_article";
- $hotkeys["(38)|up"] = "article_scroll_up";
- $hotkeys["(40)|down"] = "article_scroll_down";
+ $hotkeys["\r|Enter"] = "toggle_expand";
+ $hotkeys["?"] = "help_dialog";
+ $hotkeys[" |Space"] = "next_article";
+ $hotkeys["(38)|Up"] = "article_scroll_up";
+ $hotkeys["(40)|Down"] = "article_scroll_down";
return $hotkeys;
}
@@ -37,4 +37,4 @@ class GoogleReaderKeys extends Plugin {
return 2;
}
-} \ No newline at end of file
+}
diff --git a/plugins/hotkeys_noscroll/init.php b/plugins/hotkeys_noscroll/init.php
index 18f5aedab..2038997f5 100644
--- a/plugins/hotkeys_noscroll/init.php
+++ b/plugins/hotkeys_noscroll/init.php
@@ -16,8 +16,8 @@ class Hotkeys_Noscroll extends Plugin {
function hook_hotkey_map($hotkeys) {
- $hotkeys["(40)|down"] = "next_article_noscroll";
- $hotkeys["(38)|up"] = "prev_article_noscroll";
+ $hotkeys["(40)|Down"] = "next_article_noscroll";
+ $hotkeys["(38)|Up"] = "prev_article_noscroll";
$hotkeys["n"] = "next_article_noscroll";
$hotkeys["p"] = "prev_article_noscroll";