From 6982909689c9c6c7121b4a8a3c2e36902fd8879e Mon Sep 17 00:00:00 2001 From: Caleb Owens Date: Fri, 3 May 2024 19:14:24 +0100 Subject: [PATCH] Use stop propagation to prevent card closing --- app/src/lib/components/CommitCard.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/lib/components/CommitCard.svelte b/app/src/lib/components/CommitCard.svelte index dd220d57d..9322f90ac 100644 --- a/app/src/lib/components/CommitCard.svelte +++ b/app/src/lib/components/CommitCard.svelte @@ -93,7 +93,7 @@ let description = ''; function openCommitMessageModal(e: Event) { - e.preventDefault(); + e.stopPropagation(); description = commit.description;