summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-08-21 12:55:52 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-08-21 12:55:52 -0400
commite526f3df818ea21760c5eeb4e2f728845bb93140 (patch)
tree1dfc39e5d1b281accf5e4c56fbc57542c8d62593 /www
parenta1bdc1283d2464bff2bc725988b2fdc74b34ef74 (diff)
downloadhtml5ks-e526f3df818ea21760c5eeb4e2f728845bb93140.tar.xz
html5ks-e526f3df818ea21760c5eeb4e2f728845bb93140.zip
continue work on i18n
Diffstat (limited to 'www')
-rw-r--r--www/index.html4
-rw-r--r--www/js/html5ks.js6
2 files changed, 4 insertions, 6 deletions
diff --git a/www/index.html b/www/index.html
index cbd4a18..bc4de59 100644
--- a/www/index.html
+++ b/www/index.html
@@ -62,8 +62,8 @@
<div id="main-menu-buttons" style="top: 377px; position: absolute; left: 81px;">
<div id="start" class="button main_menu_start"></div>
<div id="load" class="button main_menu_load disabled"></div>
- <div id="extras" class="button main_menu_extras disabled"></div>
- <div class="options-button main_menu_options button"></div>
+ <div id="extras" class="button main_menu_extra disabled"></div>
+ <div class="options-button main_menu_config button"></div>
<div class="quit button main_menu_quit disabled"></div>
</div>
<div id="version" style="">
diff --git a/www/js/html5ks.js b/www/js/html5ks.js
index ff3fc18..74ab43b 100644
--- a/www/js/html5ks.js
+++ b/www/js/html5ks.js
@@ -1,8 +1,6 @@
"use strict";
window.html5ks = {
- data: {
- script: {}
- },
+ data: {},
persistent: {},
init: function () {
var defaultPersistent = {
@@ -211,13 +209,13 @@ window.html5ks = {
}
this.api.init();
this.menu.init();
+ this.i18n.init();
if (this.persistent.fullscreen) {
document.body.addEventListener("click", function onclick() {
this.removeEventListener("click", onclick, false);
html5ks.fullscreen();
}, false);
}
- this.i18n.init();
},
start: function () {
this.fetch("json", "script").then(function () {