diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/index.html | 6 | ||||
-rw-r--r-- | public/run-client.js | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/public/index.html b/public/index.html index 974a6fd..a008bdc 100644 --- a/public/index.html +++ b/public/index.html @@ -1,7 +1,6 @@ <!doctype HTML> <html> - <head> <title>cAtchVoid</title> <meta charset="utf-8"> @@ -12,8 +11,5 @@ <body> </body> - <script> - Elm.Main.fullscreen(new Date().getTime()); - </script> - + <script src="run-client.js"></script> </html> diff --git a/public/run-client.js b/public/run-client.js new file mode 100644 index 0000000..97c1135 --- /dev/null +++ b/public/run-client.js @@ -0,0 +1,3 @@ +document.body.onload = function() { + Elm.Main.fullscreen(new Date().getTime()); +} |