diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2013-09-29 10:12:59 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2013-09-29 10:13:29 -0400 |
commit | 693755517e6dff6cfeb9c67c5875d37a440f48eb (patch) | |
tree | 126857956cbd3c5c3cee58ad73e9e6a2f041c4fe /www/js/menu.js | |
parent | d10491524e0582d8d216d68d2b9f61028fd72f5e (diff) | |
download | html5ks-693755517e6dff6cfeb9c67c5875d37a440f48eb.tar.xz html5ks-693755517e6dff6cfeb9c67c5875d37a440f48eb.zip |
misc js bugs
Diffstat (limited to 'www/js/menu.js')
-rw-r--r-- | www/js/menu.js | 5 |
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"; |