mirror of
https://gitea.com/gitea/gitea-mirror.git
synced 2026-03-27 23:25:59 +00:00
Backport #28441 by wxiaoguang Fix #28319 It only polyfills if there is no "SubmitEvent" class, so it has no side effect for most users. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>