From f3cc2d50118722463e623216315bff99de341ec3 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 4 Sep 2022 16:48:26 +0200 Subject: Replace inline JS by static to run Main --- public/index.html | 6 +----- public/run-client.js | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 public/run-client.js 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 @@ - cAtchVoid @@ -12,8 +11,5 @@ - - + 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()); +} -- cgit v1.2.3