mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Revert "Call preventDefault() when a keyboard shortcut is executed"
This reverts commit 9440bf47a5
.
This commit is contained in:
parent
86dc2bf1c9
commit
f06a19814b
4 changed files with 14 additions and 18 deletions
|
@ -1,5 +1,8 @@
|
|||
class NavHandler {
|
||||
setFocusToSearchInput() {
|
||||
setFocusToSearchInput(event) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
||||
let toggleSwitchElement = document.querySelector(".search-toggle-switch");
|
||||
if (toggleSwitchElement) {
|
||||
toggleSwitchElement.style.display = "none";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue