forgejo/web_src/js/webcomponents/webcomponents.js
Giteabot c8f437b316
Add minimum polyfill to support "relative-time-element" in PaleMoon (#26575) (#26578)
Backport #26575 by @wxiaoguang

Close #26525

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 1f29cfa683)
2023-08-21 07:27:20 +02:00

5 lines
181 B
JavaScript

import '@webcomponents/custom-elements'; // polyfill for some browsers like Pale Moon
import './polyfill.js';
import '@github/relative-time-element';
import './GiteaOriginUrl.js';