mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-28 19:08:32 +08:00
fix(preset): Fix qsa warning on preset modal (@Leonabcd123) (#7277)
### Description Use a more specific selector.
This commit is contained in:
parent
eb92e1af0d
commit
8148b05dd6
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ export function show(action: string, id?: string, name?: string): void {
|
|||
$("#editPresetModal .modal .text").addClass("hidden");
|
||||
addCheckBoxes();
|
||||
presetNameEl ??= new ValidatedHtmlInputElement(
|
||||
qsr("#editPresetModal .modal input"),
|
||||
qsr("#editPresetModal .modal input[type=text]"),
|
||||
{
|
||||
schema: PresetNameSchema,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue