Skip to content

Commit e141baa

Browse files
authored
disable e shortcut for now - strange conflict for some sections (#1197)
1 parent 3ae5fc6 commit e141baa

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

frontend/src/lib/components/DetailView/DetailView.svelte

+5-4
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,11 @@
7979
function handleKeydown(event: KeyboardEvent) {
8080
if (event.metaKey || event.ctrlKey) return;
8181
// 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-
}
82+
83+
// if (event.key === 'e' && displayEditButton()) {
84+
// event.preventDefault();
85+
// goto(`${$page.url.pathname}/edit?next=${$page.url.pathname}`);
86+
//}
8687
}
8788
8889
onMount(() => {

0 commit comments

Comments
 (0)