From ee0b1ca459499cd44f0ac80c61bcbcc4a8f4888b Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 4 Sep 2022 16:39:16 +0200 Subject: Replace inline JS by static file --- public/index.html | 7 ++++--- public/run-main.js | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 public/run-main.js diff --git a/public/index.html b/public/index.html index 587080b..4998f06 100644 --- a/public/index.html +++ b/public/index.html @@ -1,6 +1,5 @@ - - + @@ -11,6 +10,8 @@ - + + + diff --git a/public/run-main.js b/public/run-main.js new file mode 100644 index 0000000..5c3b044 --- /dev/null +++ b/public/run-main.js @@ -0,0 +1,3 @@ + document.body.onload = function() { + reading.Main().main() + } -- cgit v1.2.3