We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89b84c6 commit a1b75b2Copy full SHA for a1b75b2
hwproj.front/src/components/Courses/StudentStats.tsx
@@ -66,7 +66,7 @@ const StudentStats: React.FC<IStudentStatsProps> = (props) => {
66
67
useEffect(() => {
68
const keyDownHandler = (event: KeyboardEvent) => {
69
- if (isFullscreen) return
+ if (!!document.fullscreenElement) return
70
if (event.ctrlKey || event.altKey) return
71
if (searched && event.key === "Escape") {
72
setSearched({searched: ""});
0 commit comments