mirror of
https://github.com/go-gitea/gitea
synced 2025-10-30 19:08:37 +00:00
If an event listener must be `async`, the `e.preventDefault()` should be before any `await`, it's recommended to put it at the beginning of the function.