mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-21 15:56:24 +08:00
removed wrapper
This commit is contained in:
parent
784e49bfa8
commit
c12579eb4a
|
@ -153,28 +153,25 @@ $("#googleSignUpPopupWrapper").on("mousedown", (e) => {
|
|||
}
|
||||
});
|
||||
|
||||
const nameIndicator = new InputIndicator(
|
||||
$("#googleSignUpPopup .inputAndIndicator"),
|
||||
{
|
||||
available: {
|
||||
icon: "fa-check",
|
||||
level: 1,
|
||||
},
|
||||
unavailable: {
|
||||
icon: "fa-times",
|
||||
level: -1,
|
||||
},
|
||||
taken: {
|
||||
icon: "fa-times",
|
||||
level: -1,
|
||||
},
|
||||
checking: {
|
||||
icon: "fa-circle-notch",
|
||||
spinIcon: true,
|
||||
level: 0,
|
||||
},
|
||||
}
|
||||
);
|
||||
const nameIndicator = new InputIndicator($("#googleSignUpPopup input"), {
|
||||
available: {
|
||||
icon: "fa-check",
|
||||
level: 1,
|
||||
},
|
||||
unavailable: {
|
||||
icon: "fa-times",
|
||||
level: -1,
|
||||
},
|
||||
taken: {
|
||||
icon: "fa-times",
|
||||
level: -1,
|
||||
},
|
||||
checking: {
|
||||
icon: "fa-circle-notch",
|
||||
spinIcon: true,
|
||||
level: 0,
|
||||
},
|
||||
});
|
||||
|
||||
const checkNameDebounced = debounce(1000, async () => {
|
||||
const val = $("#googleSignUpPopup input").val() as string;
|
||||
|
|
|
@ -474,9 +474,7 @@
|
|||
<div id="googleSignUpPopup">
|
||||
<div class="title">Account name</div>
|
||||
<div class="text">You need to choose a username before continuing</div>
|
||||
<div class="inputAndIndicator">
|
||||
<input type="text" placeholder="username" />
|
||||
</div>
|
||||
<input type="text" placeholder="username" />
|
||||
<div class="button disabled">Sign up</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue