mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-21 10:01:10 +08:00

When the form is going to be submitted, add the "is-loading" class to show an indicator and avoid user UI events. When the request finishes (success / error), remove the "is-loading" class to make user can interact the UI.