summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-03-14 09:08:52 +0300
committerAndrew Dolgov <[email protected]>2019-03-14 09:08:52 +0300
commitb1bb7c6001c9a2c7c636674c110ccfdd5a09cd7e (patch)
tree82a53b581b0a4012bccb71901685e0039a84627c /plugins
parent019f4578bcb80069487c4dff7ec5c05f35b0eacd (diff)
parent63d7705b7fbe980bfc4e8c7f01b38e80b3c68928 (diff)
Merge branch 'master' of git.fakecake.org:tt-rss
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";