Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Jan 30, 2023
1 parent f230f28 commit 483b4f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/drive/form_submission.ts
Expand Up @@ -126,7 +126,11 @@ export class FormSubmission {
const confirmationMessage = getAttribute("data-turbo-confirm", this.submitter, this.formElement)

if (typeof confirmationMessage === "string") {
const answer = await FormSubmission.confirmMethod(confirmationMessage, this.formElement, this.submitter || this.formElement.originalElement)
const answer = await FormSubmission.confirmMethod(
confirmationMessage,
this.formElement,
this.submitter || this.formElement.originalElement
)
if (!answer) {
return
}
Expand Down

0 comments on commit 483b4f7

Please sign in to comment.