Skip to content

Commit

Permalink
don't initialize shift selection if shiftKey is pressed
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Mar 19, 2024
1 parent b4c5b55 commit c9e9ec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/components/History/Content/ContentItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,10 @@ function onButtonSelect(e: Event) {
const event = e as KeyboardEvent;
if (event.shiftKey) {
onClick(e);
} else {
emit("init-key-selection");
}
contentItem.value?.focus();
emit("init-key-selection");
emit("update:selected", !props.selected);
}
Expand Down

0 comments on commit c9e9ec1

Please sign in to comment.