diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2014-04-06 10:02:22 -0700 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2014-04-06 10:02:22 -0700 |
commit | cd23d4b072e6b639d27f265ce3219389903b58a2 (patch) | |
tree | c14681c87eaa3e9dcb191ccdcbce056894d1b44e /workbench_template.js | |
parent | 8bda8e06ef8c5e58fe39a23bead814d0175f5b4c (diff) | |
parent | 382d52c132d60f2d70f0959d846f2747a929831d (diff) | |
download | workbench-cd23d4b072e6b639d27f265ce3219389903b58a2.tar.gz workbench-cd23d4b072e6b639d27f265ce3219389903b58a2.tar.bz2 workbench-cd23d4b072e6b639d27f265ce3219389903b58a2.zip |
Merge pull request #6 from hadesgames/slow-load-fix
Fixed a bug where everything would crash if the page loaded slowly
Diffstat (limited to 'workbench_template.js')
-rw-r--r-- | workbench_template.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/workbench_template.js b/workbench_template.js index f9c016c..1eacd31 100644 --- a/workbench_template.js +++ b/workbench_template.js @@ -3,6 +3,7 @@ var bootSnippet = "<bootSnippet>" window.onload = function(){ shadowBody = document.body.cloneNode(true) + start() } window.addEventListener("keydown", function (event) { if(event.keyCode==13 && event.ctrlKey && event.altKey && event.shiftKey) { @@ -65,5 +66,4 @@ } req.send() } - start() })() |