okay does this work at all?

Signed-off-by: Xe Iaso <me@christine.website>
This commit is contained in:
Cadey Ratio 2022-05-09 18:16:50 +00:00
parent aefc830ce5
commit 88e02703d1
1 changed files with 6 additions and 6 deletions

View File

@ -19,17 +19,21 @@
async function onReady() {
await log("got here");
let heading = document.getElementById("heading");
let id = getUID();
heading.innerText = `Hello ${id}`;
let status = document.getElementById("status");
let install_status = await getInstallState();
status.innerText = install_status;
await log(install_status);
}
onReady();
</script>
</head>
<body onload="onReady()">
<h2 id="heading">Hello World</h2>
<h3>Status: <span id="status">loading</span></h3>
<div class="gamepaddialog_Field_eKmEX gamepaddialog_WithFirstRow_2bDqk gamepaddialog_InlineWrapShiftsChildrenBelow_3LCXh gamepaddialog_WithBottomSeparator_3YKpU gamepaddialog_ExtraPaddingOnChildrenBelow_3nLNL gamepaddialog_StandardPadding_xIITX gamepaddialog_HighlightOnFocus_2HFrm Panel Focusable"
style="--indent-level:0;">
@ -41,8 +45,4 @@
</div>
</div>
</body>
<script>
onReady();
</script>
</html>