Remove unnecessary explicit jQuery parameter
This commit is contained in:
parent
549669e9e2
commit
b71adefc65
1 changed files with 27 additions and 30 deletions
|
@ -119,8 +119,7 @@ async function askGmModifier(
|
|||
const renderedHtml = await renderTemplate(usedTemplate, templateData);
|
||||
|
||||
const dialogPromise = new Promise<HTMLFormElement>((resolve) => {
|
||||
new Dialog(
|
||||
{
|
||||
new Dialog({
|
||||
title: usedTitle,
|
||||
content: renderedHtml,
|
||||
buttons: {
|
||||
|
@ -152,9 +151,7 @@ async function askGmModifier(
|
|||
},
|
||||
},
|
||||
default: "ok",
|
||||
},
|
||||
{ jQuery: true },
|
||||
).render(true);
|
||||
}).render(true);
|
||||
});
|
||||
const dialogForm = await dialogPromise;
|
||||
return parseDialogFormData(dialogForm);
|
||||
|
|
Loading…
Reference in a new issue