Skip to content

Commit 2d3327d

Browse files
change popup info box example to use script defer
1 parent 76ba16b commit 2d3327d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

popup-info-box-web-component/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<title>Pop-up info box — web components</title>
6+
<script src="main.js" defer></script>
67
</head>
78
<body>
89
<h1>Pop-up info widget - web components</h1>
@@ -14,7 +15,5 @@ <h1>Pop-up info widget - web components</h1>
1415
</div>
1516
</form>
1617

17-
<script src="main.js"></script>
18-
1918
</body>
2019
</html>

0 commit comments

Comments
 (0)