Summary Files Commits Branches @commit @diff @stats
path: root / src / scripts
diff options
context:
space:
mode:
Commit5a673fa71811df1cd5be9a56d336ed20b70d0337 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-11-14 11:00:09 +0200
Committer
 Syndamia <kamen@syndamia.com>
2022-11-14 11:00:09 +0200
Files815f583083a9ea6b6208af31f91511ed52772cc1 /src/scripts
syndamia.com-5a673fa71811df1cd5be9a56d336ed20b70d0337.tar
syndamia.com-5a673fa71811df1cd5be9a56d336ed20b70d0337.tar.gz
syndamia.com-5a673fa71811df1cd5be9a56d336ed20b70d0337.zip
Parent2771691a5a9629abd8127b8b068282d1cf909538 (diff)
[presentation] Fixed background color when presenting
1 files changed, 2 insertions, 0 deletions
-rw-r--r--src/scripts/presentation.js2
diff --git a/src/scripts/presentation.js b/src/scripts/presentation.js
index 88b4e11..332e2af 100644
--- a/src/scripts/presentation.js
+++ b/src/scripts/presentation.js
@@ -45,6 +45,8 @@ presentBtn.onclick = function() {
// Hide the whole page
document.body.classList.toggle('invisible');
document.body.classList.toggle('no-overflow');
+ // Fix background color
+ document.body.classList.toggle('body-bg-color');
// Show the slide controller
presentCont.classList.toggle('absolute-cont');
prevSlideBtn.classList.toggle('nodisplay');