refactor: use button element instead of a class

This commit is contained in:
Miodec 2023-11-17 14:59:35 +00:00
parent b2377bc4d4
commit a4efbdd714
3 changed files with 4 additions and 4 deletions

View file

@ -143,7 +143,7 @@ $("#customTestDurationPopupWrapper input").on("keyup", (e) => {
}
});
$("#customTestDurationPopupWrapper .button").on("click", () => {
$("#customTestDurationPopupWrapper button").on("click", () => {
apply();
});

View file

@ -76,7 +76,7 @@ $("#customWordAmountPopupWrapper input").on("keypress", (e) => {
}
});
$("#customWordAmountPopupWrapper .button").on("click", () => {
$("#customWordAmountPopupWrapper button").on("click", () => {
apply();
});

View file

@ -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">