run setup on js load
This commit is contained in:
parent
e2831d7c6b
commit
7e95a338de
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<title>Woweb Playground</title>
|
||||
</head>
|
||||
<body onload="setup()">
|
||||
<body>
|
||||
<textarea id="doctext" name="story" rows="5" cols="33">Things just happen, what the hell.</textarea>
|
||||
<script src="/index.js"></script>
|
||||
</body>
|
||||
|
@ -71,3 +71,5 @@ function onInput(event) {
|
||||
console.log(selectionEnd);
|
||||
console.log(event.data);
|
||||
}
|
||||
|
||||
setup();
|
||||
|
Loading…
Reference in New Issue
Block a user