diff options
author | Alexandru Tache <hadesgames@gmail.com> | 2014-04-06 18:40:55 +0300 |
---|---|---|
committer | Alexandru Tache <hadesgames@gmail.com> | 2014-04-06 18:40:55 +0300 |
commit | 382d52c132d60f2d70f0959d846f2747a929831d (patch) | |
tree | c14681c87eaa3e9dcb191ccdcbce056894d1b44e | |
parent | 8bda8e06ef8c5e58fe39a23bead814d0175f5b4c (diff) | |
download | workbench-382d52c132d60f2d70f0959d846f2747a929831d.tar.gz workbench-382d52c132d60f2d70f0959d846f2747a929831d.tar.bz2 workbench-382d52c132d60f2d70f0959d846f2747a929831d.zip |
Fixed a bug where everything would crash if a clear command was received
before the page was loaded
-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() })() |