0a9a3c2a6d
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. |
||
---|---|---|
.. | ||
api-usage.en-us.md | ||
api-usage.zh-cn.md | ||
guidelines-backend.en-us.md | ||
guidelines-frontend.en-us.md | ||
guidelines-refactoring.en-us.md | ||
hacking-on-gitea.en-us.md | ||
integrations.en-us.md | ||
integrations.zh-tw.md | ||
migrations.en-us.md | ||
migrations.zh-tw.md | ||
oauth2-provider.en-us.md | ||
oauth2-provider.zh-tw.md |