forked from forgejo/forgejo
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>
(cherry picked from commit 6af698fb81
)
This commit is contained in:
parent
3c6edfa5e2
commit
2b991b32eb
6 changed files with 31 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
import '@webcomponents/custom-elements'; // polyfill for some browsers like Pale Moon
|
||||
import '@webcomponents/custom-elements'; // polyfill for some browsers like PaleMoon
|
||||
import './polyfill.js';
|
||||
|
||||
import '@github/relative-time-element';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue