summaryrefslogtreecommitdiff
path: root/www/js/menu.js
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-01-05 20:22:51 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-01-05 20:22:51 -0500
commit055870a6b2914949ee0aab4cd7eb5e802d9c551c (patch)
tree544f236917c355915e0e3e0e001062e681b88ea8 /www/js/menu.js
parent00faee3432b8c78ce0f4c528e602f550663390e9 (diff)
downloadhtml5ks-055870a6b2914949ee0aab4cd7eb5e802d9c551c.tar.xz
html5ks-055870a6b2914949ee0aab4cd7eb5e802d9c551c.zip
Add console.error to most .then, speed up Makefile
Diffstat (limited to 'www/js/menu.js')
-rw-r--r--www/js/menu.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/menu.js b/www/js/menu.js
index c03523e..bf0b52c 100644
--- a/www/js/menu.js
+++ b/www/js/menu.js
@@ -172,10 +172,10 @@
var start = this.elements.main.start;
start.addEventListener("click", function () {
this.elements.mainMenu.style.display = "none";
- html5ks.imachine.start().then(this.mainMenu.bind(this));
+ html5ks.imachine.start().then(this.mainMenu.bind(this), console.error);
}.bind(this), false);
start.className = start.className.replace("disabled", "");
- }.bind(this));
+ }.bind(this), console.error);
},
_state: null,