fix textarea demo
Browse files- index.html +1 -1
index.html
CHANGED
@@ -42,7 +42,7 @@
|
|
42 |
button.disabled = true;
|
43 |
await nextTick();
|
44 |
await sleep();
|
45 |
-
const from = document.getElementById("from").
|
46 |
const src_lang = document.getElementById("src_lang").value;
|
47 |
const tgt_lang = document.getElementById("tgt_lang").value;
|
48 |
const to = await translator(from, { src_lang, tgt_lang });
|
|
|
42 |
button.disabled = true;
|
43 |
await nextTick();
|
44 |
await sleep();
|
45 |
+
const from = document.getElementById("from").value;
|
46 |
const src_lang = document.getElementById("src_lang").value;
|
47 |
const tgt_lang = document.getElementById("tgt_lang").value;
|
48 |
const to = await translator(from, { src_lang, tgt_lang });
|