Skip to content

Commit 2a735a2

Browse files
fix: remove full screen on keydown == "f"
1 parent 001d610 commit 2a735a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/static/script.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,9 @@ window.addEventListener("keydown", function (event) {
301301
}
302302

303303
// open full screen when press f if not already open else close
304-
if (event.key === "f") {
305-
document.body.classList.toggle("show-code-full-screen");
306-
}
304+
// if (event.key === "f") {
305+
// document.body.classList.toggle("show-code-full-screen");
306+
// }
307307
});
308308

309309
// use arrow keys to navigate active-menu

0 commit comments

Comments
 (0)