Skip to content

Commit

Permalink
Update drive.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiculescu authored Dec 22, 2022
1 parent 651754c commit ac0b51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _source/reference/drive.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Note that this method has no effect when used with the iOS or Android adapters.
Turbo.setConfirmMethod(confirmMethod)
```

Sets the method that is called by links decorated with [`data-turbo-confirm`](/handbook/drive#requiring-confirmation-for-a-visit). The default is the browser's built in `confirm`.
Sets the method that is called by links decorated with [`data-turbo-confirm`](/handbook/drive#requiring-confirmation-for-a-visit). The default is the browser's built in `confirm`. The method should return `true` if the visit can proceed.

## Turbo.session.drive

Expand Down

0 comments on commit ac0b51a

Please sign in to comment.