Skip to content
Snippets Groups Projects
Commit 0ffda758 authored by Ruben Backx's avatar Ruben Backx :coffee:
Browse files

Prevent screens from sleeping when presenting

parent 64ac23aa
Branches
Tags
2 merge requests!711Version 2.2.1,!704Resolve "Lab slideshow should prevent computers from sleeping"
......@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
### Changed
- Screens should no longer sleep when presenting (not supported on Firefox). [@rwbackx](https://gitlab.ewi.tudelft.nl/rwbackx)
### Fixed
- Lab filter for shared labs now shows the correct course codes in front of assignments. [@hpage](https://gitlab.ewi.tudelft.nl/hpage)
......
......@@ -22,6 +22,11 @@
<head>
<link rel="stylesheet" href="/css/presentation.css" />
<script src="/webjars/momentjs/min/moment.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", async function () {
await navigator.wakeLock.request("screen");
});
</script>
</head>
<body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment