|
|
@ -10,7 +10,7 @@ window.addEventListener("DOMContentLoaded", async (event) => {
|
|
|
|
await loadDefaults();
|
|
|
|
await loadDefaults();
|
|
|
|
updateTimeSettings();
|
|
|
|
updateTimeSettings();
|
|
|
|
|
|
|
|
|
|
|
|
const helpLink = document.getElementById("keyboard-help");
|
|
|
|
const helpLink = document.getElementById("keyboard-help-link");
|
|
|
|
helpLink.addEventListener("click", toggleHelpDisplay);
|
|
|
|
helpLink.addEventListener("click", toggleHelpDisplay);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
@ -54,7 +54,7 @@ function updateSegmentPlaylist() {
|
|
|
|
function toggleHelpDisplay() {
|
|
|
|
function toggleHelpDisplay() {
|
|
|
|
const helpBox = document.getElementById("keyboard-help-box");
|
|
|
|
const helpBox = document.getElementById("keyboard-help-box");
|
|
|
|
if (helpBox.classList.contains("hidden")) {
|
|
|
|
if (helpBox.classList.contains("hidden")) {
|
|
|
|
const helpLink = document.getElementById("keyboard-help");
|
|
|
|
const helpLink = document.getElementById("keyboard-help-link");
|
|
|
|
helpBox.style.top = (helpLink.offsetTop + helpLink.offsetHeight) + "px";
|
|
|
|
helpBox.style.top = (helpLink.offsetTop + helpLink.offsetHeight) + "px";
|
|
|
|
helpBox.classList.remove("hidden");
|
|
|
|
helpBox.classList.remove("hidden");
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|