summaryrefslogtreecommitdiff
path: root/www/js/menu.js
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-06-27 23:11:16 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-06-27 23:11:16 -0400
commit012ac4ef2f91ed67d36c5e06510cec8c00517de3 (patch)
tree944e2c375770e1757fa92d2bbe942e8e27965c2f /www/js/menu.js
parentf3a9805dc55133320a48feb094475aa9bd84bcac (diff)
downloadhtml5ks-012ac4ef2f91ed67d36c5e06510cec8c00517de3.tar.xz
html5ks-012ac4ef2f91ed67d36c5e06510cec8c00517de3.zip
jmp to main menu after en_NOP1, dec version
Diffstat (limited to 'www/js/menu.js')
-rw-r--r--www/js/menu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/menu.js b/www/js/menu.js
index 8d68fcd..ad37964 100644
--- a/www/js/menu.js
+++ b/www/js/menu.js
@@ -20,7 +20,7 @@ html5ks.menu = {
initEvents: function () {
document.getElementById("start").addEventListener("click", function () {
html5ks.elements.mainMenu.style.display = "none";
- html5ks.api.iscene("en_NOP1");
+ html5ks.api.iscene("en_NOP1").then(html5ks.menu.mainMenu);
}, false);
document.getElementById("options-button").addEventListener("click", function () {
html5ks.menu.dialog("options");