Skip to content

Commit b6e4f5e

Browse files
committed
fix: Bug when adding spaces to containers names in course outline
- Fixes the bug introduced in openedx#2732 - Removes the unnecessary `preventDefault`
1 parent 4cda17e commit b6e4f5e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/course-outline/drag-helper/SortableItem.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ const SortableItem = ({
7676
if (!onClick) { return; }
7777

7878
if (e.key === 'Enter' || e.key === ' ') {
79-
e.preventDefault();
8079
onClick(e);
8180
}
8281
}}

0 commit comments

Comments
 (0)