Skip to content

Commit

Permalink
Fix wwindow.onload to be window.onload (#46)
Browse files Browse the repository at this point in the history
Fix javascript typo
  • Loading branch information
madjake authored Aug 5, 2021
1 parent e3f4814 commit 6a1f2ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const indexTempl = `<!-- HTML for static distribution bundle build -->
<script src="./swagger-ui-bundle.js"> </script>
<script src="./swagger-ui-standalone-preset.js"> </script>
<script>
wwindow.onload = function() {
window.onload = function() {
// Build a system
const ui = SwaggerUIBundle({
url: "{{.URL}}",
Expand Down

0 comments on commit 6a1f2ba

Please sign in to comment.