diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-01-05 20:22:51 -0500 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-01-05 20:22:51 -0500 |
commit | 055870a6b2914949ee0aab4cd7eb5e802d9c551c (patch) | |
tree | 544f236917c355915e0e3e0e001062e681b88ea8 /www/js/menu.js | |
parent | 00faee3432b8c78ce0f4c528e602f550663390e9 (diff) | |
download | html5ks-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.js | 4 |
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, |