mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-16 14:33:45 +08:00
6af698fb81
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>
6 lines
180 B
JavaScript
6 lines
180 B
JavaScript
import '@webcomponents/custom-elements'; // polyfill for some browsers like PaleMoon
|
|
import './polyfill.js';
|
|
|
|
import '@github/relative-time-element';
|
|
import './GiteaOriginUrl.js';
|