home
projects
git
about
index
:
chinese-characters
master
study tool for character pronounciation
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
main.js
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'main.js')
-rw-r--r--
main.js
5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.js b/main.js
index 72c97a4..f0c0694 100644
--- a/
main.js
+++ b/
main.js
@@ -21,4 +21,7 @@ function render()
}
-window.onload = render;
+window.onload = () => {
+ reset();
+ render();
+}