mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-06 13:40:16 +08:00
test
This commit is contained in:
parent
ce6719e288
commit
f1560f431f
1 changed files with 9 additions and 7 deletions
|
@ -64,13 +64,15 @@ class SimplePopup {
|
|||
if (this.type === "number") {
|
||||
this.inputs.forEach((input) => {
|
||||
el.find(".inputs").append(`
|
||||
<input type="number" min="1" val="${input.initVal}" placeholder="${
|
||||
input.placeholder
|
||||
}"
|
||||
class="${input.hidden ? "hidden" : ""}" ${
|
||||
input.hidden ? "" : "required"
|
||||
}
|
||||
autocomplete="off">
|
||||
<input
|
||||
type="number"
|
||||
min="1"
|
||||
val="${input.initVal}"
|
||||
placeholder="${input.placeholder}"
|
||||
class="${input.hidden ? "hidden" : ""}"
|
||||
${input.hidden ? "" : "required"}
|
||||
autocomplete="off"
|
||||
>
|
||||
`);
|
||||
});
|
||||
} else if (this.type === "text") {
|
||||
|
|
Loading…
Add table
Reference in a new issue