Skip to content

Commit 4139e3e

Browse files
Update src/pages/courses/web-development/[moduleId]/[lessonId].tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a97d865 commit 4139e3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/courses/web-development/[moduleId]/[lessonId].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const LessonPage: PageWithLayout = ({ lesson, module }) => {
130130
const handleKeyPress = (e: KeyboardEvent) => {
131131
// Only trigger if not typing in an input field
132132
if (
133-
e.key === 'a' &&
133+
e.key.toLowerCase() === 'a' &&
134134
!e.ctrlKey &&
135135
!e.metaKey &&
136136
!e.altKey &&

0 commit comments

Comments
 (0)