main #8
3 changed files with 2 additions and 3 deletions
|
@ -13,7 +13,6 @@ const titleBoxLabel = document.getElementById("titleBoxLabel");
|
||||||
const attachmentBoxLabel = document.getElementById("attachBoxLabel");
|
const attachmentBoxLabel = document.getElementById("attachBoxLabel");
|
||||||
const clickBoxLabel = document.getElementById("clickBoxLabel");
|
const clickBoxLabel = document.getElementById("clickBoxLabel");
|
||||||
|
|
||||||
|
|
||||||
const msgPFX = "message: "
|
const msgPFX = "message: "
|
||||||
|
|
||||||
// Random placeholder
|
// Random placeholder
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
function onload() {
|
function getSGAStates() {
|
||||||
if (sessionStorage.getItem("sgaEnabled")) {
|
if (sessionStorage.getItem("sgaEnabled")) {
|
||||||
enableSGA();
|
enableSGA();
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ const { title } = Astro.props;
|
||||||
<head>
|
<head>
|
||||||
<Head title={title} />
|
<Head title={title} />
|
||||||
</head>
|
</head>
|
||||||
<body onload="onload(), redirect(), getPlaceholder()" id="body">
|
<body onload="getSGAState(), redirect(), getPlaceholder()" id="body">
|
||||||
<Header />
|
<Header />
|
||||||
<section class="content center">
|
<section class="content center">
|
||||||
<h1 class="title">{title}</h1>
|
<h1 class="title">{title}</h1>
|
||||||
|
|
Loading…
Reference in a new issue