Skip to content

Commit

Permalink
fix: can't save with ctrl+s
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMissx committed Feb 7, 2024
1 parent c4e9445 commit f3ef421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/index.templ
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "github.com/mrmissx/stashbin/view/icons"

templ Home() {
@layout.BaseLayout() {
<form hx-post="/api/document" hx-trigger="keydown[keyCode === 83 && (ctrlKey || metaKey)] changed once">
<form hx-post="/api/document" hx-trigger="keydown[keyCode === 83 && (ctrlKey || metaKey)]">
@layout.Header() {
@icons.Save()
}
Expand Down

0 comments on commit f3ef421

Please sign in to comment.