Skip to content

Commit 65e490c

Browse files
authored
chore: use innerText on generate data modal (@fehmer) (monkeytypegame#7276)
1 parent 805c7ae commit 65e490c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/ts/modals/simple-modals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ list.devGenerateData = new SimpleModal({
12121212
const span = document.querySelector(
12131213
"#devGenerateData_1 + span",
12141214
) as HTMLInputElement;
1215-
span.innerHTML = `if checked, user will be created with ${target.value}@example.com and password: password`;
1215+
span.innerText = `if checked, user will be created with ${target.value}@example.com and password: password`;
12161216
return;
12171217
},
12181218
validation: {

0 commit comments

Comments
 (0)