Skip to content

Commit 145ad57

Browse files
authored
Update how_to_use.md
1 parent 78777bf commit 145ad57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

how_to_use.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ Create an HTML file like this:
9999
<head>
100100
<link rel="stylesheet" href="dist/ultra.css">
101101
</head>
102-
<body onload="Ultra.init()">
102+
<body>
103103

104104
<button class="ultra-button button-wave">Wave!</button>
105105
<div class="ultra-chip">Chip!</div>
106106

107-
<script src="dist/ultra.js" defer></script>
107+
<script src="dist/ultra.js" onload="Ultra.init()" defer></script>
108108
</body>
109109
</html>
110110
```

0 commit comments

Comments
 (0)