mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-05 06:54:36 +08:00
refactor: use button element instead of a class
This commit is contained in:
parent
b2377bc4d4
commit
a4efbdd714
3 changed files with 4 additions and 4 deletions
|
|
@ -143,7 +143,7 @@ $("#customTestDurationPopupWrapper input").on("keyup", (e) => {
|
|||
}
|
||||
});
|
||||
|
||||
$("#customTestDurationPopupWrapper .button").on("click", () => {
|
||||
$("#customTestDurationPopupWrapper button").on("click", () => {
|
||||
apply();
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ $("#customWordAmountPopupWrapper input").on("keypress", (e) => {
|
|||
}
|
||||
});
|
||||
|
||||
$("#customWordAmountPopupWrapper .button").on("click", () => {
|
||||
$("#customWordAmountPopupWrapper button").on("click", () => {
|
||||
apply();
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -599,7 +599,7 @@
|
|||
You can start an infinite test by inputting 0. Then, to stop the test, use
|
||||
the Bail Out feature (esc or ctrl/cmd + shift + p > Bail Out)
|
||||
</div>
|
||||
<div class="button">ok</div>
|
||||
<button>ok</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="customTestDurationPopupWrapper" class="popupWrapper hidden">
|
||||
|
|
@ -611,7 +611,7 @@
|
|||
You can start an infinite test by inputting 0. Then, to stop the test, use
|
||||
the Bail Out feature (esc or ctrl/cmd + shift + p > Bail Out)
|
||||
</div>
|
||||
<div class="button">ok</div>
|
||||
<button>ok</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="quoteSearchPopupWrapper" class="popupWrapper hidden">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue