okay does this work at all?
Signed-off-by: Xe Iaso <me@christine.website>
This commit is contained in:
parent
aefc830ce5
commit
88e02703d1
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue