summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/tests/wasm/element.js
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/web-sys/tests/wasm/element.js')
-rw-r--r--vendor/web-sys/tests/wasm/element.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/web-sys/tests/wasm/element.js b/vendor/web-sys/tests/wasm/element.js
index ed51fbdbe..1c104ed23 100644
--- a/vendor/web-sys/tests/wasm/element.js
+++ b/vendor/web-sys/tests/wasm/element.js
@@ -116,6 +116,7 @@ export function new_select_with_food_opts() {
for(let i = 0; i < opts.length; i++) {
let opt = document.createElement("option");
+ opt.id = opts[i];
opt.value = opts[i];
opt.text = opts[i];
select.appendChild(opt);