Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
2 files changed, 3 insertions, 1 deletions
-rw-r--r--awk-edits/Presentation.awk2
-rw-r--r--src/scripts/presentation.js2
diff --git a/awk-edits/Presentation.awk b/awk-edits/Presentation.awk
index eb923ad..a165bc6 100644
--- a/awk-edits/Presentation.awk
+++ b/awk-edits/Presentation.awk
@@ -161,7 +161,7 @@ BEGIN {
" <img id=\"presentBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/presentation.svg\" alt=\"Present\">" ORS \
" <img id=\"printBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/printer.svg\" alt=\"Print\">" ORS \
" </nav><br><br>" ORS \
-" <script type=\"text/javascript\" src=\"/scripts/presentation.js\" integrity=\"sha512-PoIbgOwiicYREcbrrt+nQUZV+/goInUOpP3f7I7H6Rba7Ww6CkTbM7MRQnMnQn1yvJVdcLNXE5LsYMjT6+HEZA==\" crossorigin=\"anonymous\"></script>"
+" <script type=\"text/javascript\" src=\"/scripts/presentation.js\" integrity=\"sha512-ZxV9z0W+zUL1SDsojpvUy/IbvXiz2mLUdnTghCkT0Ws5Hi+CE2KbrROnKkhIK4DQP85dAF41Lms4GrAYcNaQrA==\" crossorigin=\"anonymous\"></script>"
for (i = 1; i <= length(names); i++) {
pat[i] = "&#38;&#38;" names[i]
diff --git a/src/scripts/presentation.js b/src/scripts/presentation.js
index df80183..70339e6 100644
--- a/src/scripts/presentation.js
+++ b/src/scripts/presentation.js
@@ -111,11 +111,13 @@ document.addEventListener('keydown', function (e) {
switch (e.code) {
// Previous slide
case 'Backspace': case 'PageUp':
+ case 'KeyK': case 'KeyH':
case 'ArrowLeft': case 'ArrowUp':
showSlide(-1);
break;
// Next slide
case 'Space': case 'Enter': case 'PageDown':
+ case 'KeyJ': case 'KeyL':
case 'ArrowRight': case 'ArrowDown':
showSlide(+1);
break;