mirror of
https://github.com/miniflux/v2.git
synced 2025-07-22 17:18:37 +00:00
Add toggle open/close entry attachments shortcut
This commit is contained in:
parent
b338c9b3c2
commit
a44ba4abcb
19 changed files with 19 additions and 0 deletions
1
ui/static/js/bootstrap.js
vendored
1
ui/static/js/bootstrap.js
vendored
|
@ -35,6 +35,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||
keyboardHandler.on("+", () => goToAddSubscription());
|
||||
keyboardHandler.on("#", () => unsubscribeFromFeed());
|
||||
keyboardHandler.on("/", (e) => setFocusToSearchInput(e));
|
||||
keyboardHandler.on("a", () => document.querySelector('.entry-enclosures').toggleAttribute('open'));
|
||||
keyboardHandler.on("Escape", () => ModalHandler.close());
|
||||
keyboardHandler.listen();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue