Skip to content

Commit c304861

Browse files
committed
frontend: add loading message
1 parent 6c311bc commit c304861

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

frontend/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@
5656
</head>
5757
<body>
5858
<div id="container">
59-
<textarea id="input" placeholder="Enter your input here..."></textarea>
59+
<textarea
60+
id="input"
61+
readonly
62+
placeholder="Loading wasm module..."
63+
></textarea>
6064
<textarea
6165
id="output"
6266
readonly
@@ -69,6 +73,9 @@
6973
<script type="module">
7074
import { pandoc } from "./index.js";
7175

76+
document.getElementById("input").readOnly = false;
77+
document.getElementById("input").placeholder = "Enter your input here...";
78+
7279
async function updateOutput() {
7380
const inputText = document.getElementById("input").value;
7481
const argumentsText = document.getElementById("arguments").value;

0 commit comments

Comments
 (0)