summaryrefslogtreecommitdiff
path: root/www/js/html5ks.js
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-01-29 17:57:22 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-01-29 17:57:36 -0500
commit6ca9552ac361d276ffdb3085eed10e513e8c6bf7 (patch)
tree4c8d4f9e1d4b7506cc6c90b0ad32a5964c9e3d1c /www/js/html5ks.js
parent86b9f9a40a1549d275dc8a57bf192b97c6954eed (diff)
downloadhtml5ks-6ca9552ac361d276ffdb3085eed10e513e8c6bf7.tar.xz
html5ks-6ca9552ac361d276ffdb3085eed10e513e8c6bf7.zip
More stuff.
Diffstat (limited to 'www/js/html5ks.js')
-rw-r--r--www/js/html5ks.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/js/html5ks.js b/www/js/html5ks.js
index 50555b3..ab5fcd4 100644
--- a/www/js/html5ks.js
+++ b/www/js/html5ks.js
@@ -29,7 +29,7 @@ window.html5ks = {
return v;
},
set: function (value) {
- v = '' + value;
+ v = value;
localStorage.persistent = JSON.stringify(html5ks.persistent);
},
enumerable: true
@@ -153,7 +153,7 @@ window.html5ks = {
for (var i = 0; i < warns.length; i++) {
var warn = warns[i];
if (window.getComputedStyle(warns[i]).getPropertyValue("display") !== "none") {
- warn.style.visibility = "visible";
+ warn.style.display = "block";
return true;
}
}
@@ -167,9 +167,9 @@ window.html5ks = {
if (!this.warnUnsupported()) {
this.start();
}
+ this.i18n.init();
this.api.init();
this.menu.init();
- this.i18n.init();
},
start: function () {
this.fetch("json", "script").then(function (d) {