mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix old Edge loading
This commit is contained in:
parent
3bafe0d621
commit
4b84e6c0aa
1 changed files with 6 additions and 14 deletions
|
@ -696,20 +696,12 @@ function initClient() {
|
||||||
onError: onRequireJsError
|
onError: onRequireJsError
|
||||||
});
|
});
|
||||||
|
|
||||||
require(['fetch']);
|
require(['fetch'])
|
||||||
require(['polyfill']);
|
.then(() => require(['jQuery', 'polyfill', 'fast-text-encoding', 'intersection-observer', 'classlist-polyfill', 'css!assets/css/site', 'jellyfin-noto'], (jQuery) => {
|
||||||
require(['fast-text-encoding']);
|
// Expose jQuery globally
|
||||||
require(['intersection-observer']);
|
window.$ = jQuery;
|
||||||
require(['classlist-polyfill']);
|
window.jQuery = jQuery;
|
||||||
|
}));
|
||||||
// Expose jQuery globally
|
|
||||||
require(['jQuery'], function(jQuery) {
|
|
||||||
window.$ = jQuery;
|
|
||||||
window.jQuery = jQuery;
|
|
||||||
});
|
|
||||||
|
|
||||||
require(['css!assets/css/site']);
|
|
||||||
require(['jellyfin-noto']);
|
|
||||||
|
|
||||||
// define styles
|
// define styles
|
||||||
// TODO determine which of these files can be moved to the components themselves
|
// TODO determine which of these files can be moved to the components themselves
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue