mirror of
https://github.com/Pathduck/pathduck.github.io.git
synced 2026-07-16 16:42:00 -04:00
Update keyboard-lock
This commit is contained in:
@@ -95,13 +95,13 @@ document.addEventListener("fullscreenchange", () => {
|
||||
if (document.fullscreen) {
|
||||
fullscreenButton.textContent = LEAVE_FULLSCREEN;
|
||||
document
|
||||
.querySelectorAll("main > div[hidden]:not(.info)")
|
||||
.querySelectorAll("main > div:not(.info)")
|
||||
.forEach(div => (div.hidden = false));
|
||||
return;
|
||||
}
|
||||
fullscreenButton.textContent = ENTER_FULLSCREEN;
|
||||
document
|
||||
.querySelectorAll("main > div[hidden]:not(.info)")
|
||||
.querySelectorAll("main > div:not(.info)")
|
||||
.forEach(div => (div.hidden = true));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user