summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/api.js6
-rw-r--r--www/js/html5ks.js1
2 files changed, 2 insertions, 5 deletions
diff --git a/www/js/api.js b/www/js/api.js
index 3a2c4f5..4454521 100644
--- a/www/js/api.js
+++ b/www/js/api.js
@@ -219,10 +219,6 @@ window.html5ks.api = {
}
el.style.display = "block";
}
- deferred.resolve();
- };
- el.onerror = function () {
- deferred.reject();
};
var nom = name;
if (type && type !== "None") {
@@ -339,7 +335,7 @@ window.html5ks.api = {
if (!extend && char.what_prefix) {
text = char.what_prefix + text;
}
- if ((!w || !w[1] || extend) && char.what_suffix) {
+ if ((!w || !w[1]) && !extend && char.what_suffix) {
text = text + char.what_suffix;
}
diff --git a/www/js/html5ks.js b/www/js/html5ks.js
index a611d42..a672dbb 100644
--- a/www/js/html5ks.js
+++ b/www/js/html5ks.js
@@ -18,6 +18,7 @@ window.html5ks = {
textSpeed: 0.5,
autoModeDelay: 0.2,
musicVolume: 1,
+ ambientVolume: 1,
soundVolume: 1,
language: "en"
};