mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-06 12:18:48 +00:00
Fix: allow exclamation to open quicklaunch (#3475)
This commit is contained in:
parent
a9ad2a2146
commit
1144f4dfa0
1 changed files with 2 additions and 1 deletions
|
@ -227,7 +227,8 @@ function Home({ initialSettings }) {
|
|||
(e.key.length === 1 &&
|
||||
e.key.match(/(\w|\s|[à-ü]|[À-Ü]|[\w\u0430-\u044f])/gi) &&
|
||||
!(e.altKey || e.ctrlKey || e.metaKey || e.shiftKey)) ||
|
||||
e.key.match(/([à-ü]|[À-Ü])/g) || // accented characters may require modifier keys
|
||||
// accented characters and the bang may require modifier keys
|
||||
e.key.match(/([à-ü]|[À-Ü]|!)/g) ||
|
||||
(e.key === "v" && (e.ctrlKey || e.metaKey))
|
||||
) {
|
||||
setSearching(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue