Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
move script back to body
  • Loading branch information
mjstealey authored Aug 1, 2024
1 parent 92a7769 commit 9c7e049
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>FABRIC KNIT Workshop</title>
<script>
(function () {
var redirect = sessionStorage.redirect;
delete sessionStorage.redirect;
if (redirect && redirect != location.href) {
history.replaceState(null, null, redirect);
}
})();
</script>
<link rel="icon" href="favicon.png">
<script defer="defer" src="main.js"></script>
<link href="main.css" rel="stylesheet">
</head>
<body>
<script>
(function () {
var redirect = sessionStorage.redirect;
delete sessionStorage.redirect;
if (redirect && redirect != location.href) {
history.replaceState(null, null, redirect);
}
})();
</script>
<div id="root"></div>
</body>
</html>

0 comments on commit 9c7e049

Please sign in to comment.