We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ae5fc6 commit e141baaCopy full SHA for e141baa
frontend/src/lib/components/DetailView/DetailView.svelte
@@ -79,10 +79,11 @@
79
function handleKeydown(event: KeyboardEvent) {
80
if (event.metaKey || event.ctrlKey) return;
81
// Check if the pressed key is 'e' and the edit button should be displayed
82
- if (event.key === 'e' && displayEditButton()) {
83
- event.preventDefault();
84
- goto(`${$page.url.pathname}/edit?next=${$page.url.pathname}`);
85
- }
+
+ // if (event.key === 'e' && displayEditButton()) {
+ // event.preventDefault();
+ // goto(`${$page.url.pathname}/edit?next=${$page.url.pathname}`);
86
+ //}
87
}
88
89
onMount(() => {
0 commit comments