mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-04 11:00:01 +02: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> (cherry picked from commit 6af698fb81b9928c5d88c6bbca4b57229db1c2f3)
5 lines
180 B
JavaScript
5 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';
|