1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-02 16:38:37 +00:00

Revert "Call preventDefault() when a keyboard shortcut is executed"

This reverts commit 9440bf47a5.
This commit is contained in:
Frédéric Guillot 2018-10-22 20:26:17 -07:00
parent 86dc2bf1c9
commit f06a19814b
4 changed files with 14 additions and 18 deletions

View file

@ -29,7 +29,7 @@ document.addEventListener("DOMContentLoaded", function() {
keyboardHandler.on("f", () => navHandler.toggleBookmark());
keyboardHandler.on("?", () => navHandler.showKeyboardShortcuts());
keyboardHandler.on("#", () => navHandler.unsubscribeFromFeed());
keyboardHandler.on("/", () => navHandler.setFocusToSearchInput());
keyboardHandler.on("/", (e) => navHandler.setFocusToSearchInput(e));
keyboardHandler.on("Escape", () => ModalHandler.close());
keyboardHandler.listen();