mirror of
https://gitee.com/gitea/gitea
synced 2025-11-09 02:50:24 +08: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.