Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
moving script to head
  • Loading branch information
mjstealey authored Aug 1, 2024
1 parent b58cc0d commit aad550c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +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 aad550c

Please sign in to comment.