log message

Signed-off-by: Xe Iaso <me@christine.website>
This commit is contained in:
Cadey Ratio 2022-05-09 18:41:07 +00:00
parent 43058cbd15
commit b32c936041
1 changed files with 4 additions and 4 deletions

View File

@ -18,16 +18,16 @@
} }
async function getStatus() { async function getStatus() {
await log("getting status");
let status = document.getElementById("status"); let status = document.getElementById("status");
let installStatus = await getInstallState(); let installStatus = await getInstallState();
status.innerText = `${installStatus}`; status.innerText = `${installStatus}`;
} }
async function onReady() { async function onReady() {
let heading = document.getElementById("heading"); log("test hi here what's up");
let id = await getUID();
heading.innerText = `Hello ${id}`;
} }
log("log message");
</script> </script>
</head> </head>
<body onload="onReady()"> <body onload="onReady()">
@ -35,7 +35,7 @@
<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" <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;"> style="--indent-level:0;">
<div class="gamepaddialog_FieldLabelRow_2VcTl"> <div class="gamepaddialog_FieldLabelRow_2VcTl">
<div class="gamepaddialog_FieldLabel_3jMlJ" id="status"></div> <div class="gamepaddialog_FieldLabel_3jMlJ" id="status">loading</div>
<div class="gamepaddialog_FieldChildren_2rhav"><button type="button" <div class="gamepaddialog_FieldChildren_2rhav"><button type="button"
class="DialogButton _DialogLayout Secondary gamepaddialog_Button_cXzBZ Focusable" onclick="getStatus()" class="DialogButton _DialogLayout Secondary gamepaddialog_Button_cXzBZ Focusable" onclick="getStatus()"
tabindex="0">🔄</button></div> tabindex="0">🔄</button></div>