git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
9e3c3ee
)
Refactor keyboard shortcut binding for search modal in App.vue
author
Adam Dullage
<redacted>
Tue, 7 May 2024 20:28:30 +0000
(21:28 +0100)
committer
Adam Dullage
<redacted>
Tue, 7 May 2024 20:28:30 +0000
(21:28 +0100)
client/App.vue
patch
|
blob
|
history
diff --git
a/client/App.vue
b/client/App.vue
index d5a96cd9b9e6b7733175895536f91aed929850da..9c1300af9fb6796e40fb138d2b5f0e29ac66ef8f 100644
(file)
--- a/
client/App.vue
+++ b/
client/App.vue
@@
-33,7
+33,7
@@
const searchModal = ref();
const toast = useToast();
\r
\r
// '/' to search
\r
-Mousetrap.bind("/",
function ()
{
\r
+Mousetrap.bind("/",
() =>
{
\r
if (route.name !== "login") {
\r
toggleSearchModal();
\r
return false;
\r
git clone https://git.99rst.org/PROJECT