aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/index.html7
-rw-r--r--public/run-main.js3
2 files changed, 7 insertions, 3 deletions
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 @@
<!DOCTYPE html>
-
-<html lang="en">
+<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
@@ -11,6 +10,8 @@
<script src="main.js"></script>
</head>
- <body onload="reading.Main().main()">
+ <body>
</body>
+
+ <script src="run-main.js"></script>
</html>
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()
+ }