Summary Files Commits Branches @commit @diff @stats
path: root / src / scripts
diff options
context:
space:
mode:
1 files changed, 1 insertions, 0 deletions
-rw-r--r--src/scripts/presentation.js1
diff --git a/src/scripts/presentation.js b/src/scripts/presentation.js
index b611355..88b4e11 100644
--- a/src/scripts/presentation.js
+++ b/src/scripts/presentation.js
@@ -52,4 +52,5 @@ presentBtn.onclick = function() {
// Show the first slide
slides[slideIndex].classList.toggle('absolute-slide');
slideIndex = 0;
+ window.scrollTo(0, 0); // Alignment of presentation to screen
}