summaryrefslogtreecommitdiff
path: root/www/js/menu.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/menu.js')
-rw-r--r--www/js/menu.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/js/menu.js b/www/js/menu.js
index 77ae7ee..f2fbacd 100644
--- a/www/js/menu.js
+++ b/www/js/menu.js
@@ -28,7 +28,7 @@
dialogs: document.getElementById("dialogs"),
dialog: {
options: document.getElementById("options"),
- return: document.getElementById("return")
+ retn: document.getElementById("retn")
},
mainMenu: document.getElementById("main-menu"),
main: {
@@ -62,6 +62,7 @@
scaleVideo.checked = true;
scaleVideo.parentNode.className = scaleVideo.parentNode.className.replace("disabled", "");
}
+ // fall-through
case "scaleVideo":
html5ks.scale();
break;
@@ -86,7 +87,7 @@
optionsButton[i].addEventListener("click", showOptions, false);
}
- this.elements.dialog.return.addEventListener("click", function (e) {
+ this.elements.dialog.retn.addEventListener("click", function (e) {
html5ks.menu.activeDialog.style.display = "none";
html5ks.menu.activeDialog = null;
html5ks.menu.elements.dialogs.style.display = "none";