diff options
author | Richard Schneider <richard@schneiderbox.net> | 2020-01-07 00:02:02 -0600 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2020-01-06 22:02:02 -0800 |
commit | 6ebb29cd22f864842bd763828e914d172ce6f46b (patch) | |
tree | f463aa6757583c0cd61793565f14a4788f0ae952 /ui/static/js/bootstrap.js | |
parent | e2315e6a54c93ff44f99482fae6a0931444dc27a (diff) |
Add comments link keyboard shortcut
Diffstat (limited to 'ui/static/js/bootstrap.js')
-rw-r--r-- | ui/static/js/bootstrap.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/static/js/bootstrap.js b/ui/static/js/bootstrap.js index dd394f0..7b9e94d 100644 --- a/ui/static/js/bootstrap.js +++ b/ui/static/js/bootstrap.js @@ -20,6 +20,8 @@ document.addEventListener("DOMContentLoaded", function () { keyboardHandler.on("o", () => openSelectedItem()); keyboardHandler.on("v", () => openOriginalLink()); keyboardHandler.on("V", () => openOriginalLink(true)); + keyboardHandler.on("c", () => openCommentLink()); + keyboardHandler.on("C", () => openCommentLink(true)); keyboardHandler.on("m", () => handleEntryStatus()); keyboardHandler.on("A", () => markPageAsRead()); keyboardHandler.on("s", () => handleSaveEntry()); |