mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-02 17:53:13 +08:00
impr(dev): add button to show real words input
!nuf
This commit is contained in:
parent
fddbede932
commit
034e97c35a
2 changed files with 7 additions and 0 deletions
frontend/src
|
@ -10,6 +10,7 @@
|
|||
<button class="generateData">generate data</button>
|
||||
<button class="toggleMediaQueryDebug">toggle media query debug</button>
|
||||
<button class="showTestNotifications">show test notifications</button>
|
||||
<button class="showRealWordsInput">show real words input</button>
|
||||
</div>
|
||||
</dialog>
|
||||
|
||||
|
|
|
@ -41,6 +41,12 @@ async function setup(modalEl: HTMLElement): Promise<void> {
|
|||
);
|
||||
setMediaQueryDebugLevel(mediaQueryDebugLevel);
|
||||
});
|
||||
modalEl
|
||||
.querySelector(".showRealWordsInput")
|
||||
?.addEventListener("click", () => {
|
||||
$("#wordsInput").css("opacity", "1");
|
||||
void modal.hide();
|
||||
});
|
||||
}
|
||||
|
||||
const modal = new AnimatedModal({
|
||||
|
|
Loading…
Reference in a new issue