1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Remove focus-prevent-scroll, migrate gamepadtokey and chromecastHelper to ES6

This commit is contained in:
MrTimscampi 2020-08-06 23:56:29 +02:00
parent e2aff66203
commit 58361ce70c
8 changed files with 540 additions and 569 deletions

View file

@ -689,7 +689,8 @@ function initClient() {
'events',
'credentialprovider',
'connectionManagerFactory',
'appStorage'
'appStorage',
'focus-options-polyfill'
]
},
urlArgs: urlArgs,
@ -698,7 +699,7 @@ function initClient() {
});
promise = require(['fetch'])
.then(() => require(['jQuery', 'polyfill', 'fast-text-encoding', 'intersection-observer', 'classlist-polyfill', 'css!assets/css/site', 'jellyfin-noto'], (jQuery) => {
.then(() => require(['jQuery', 'polyfill', 'fast-text-encoding', 'intersection-observer', 'classlist-polyfill', 'focus-options-polyfill', 'css!assets/css/site', 'jellyfin-noto'], (jQuery) => {
// Expose jQuery globally
window.$ = jQuery;
window.jQuery = jQuery;