Remove unnecessary explicit jQuery parameter

This commit is contained in:
Johannes Loher 2021-05-13 22:09:38 +02:00
parent 549669e9e2
commit b71adefc65

View file

@ -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);