mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-05 10:25:30 +01: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.