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

Use focusManager.default in non ES6 modules

This commit is contained in:
Xantios Krugor 2020-08-05 12:19:51 +02:00
parent 6f78cdfde2
commit 2a822704d6
12 changed files with 18 additions and 1 deletions

View file

@ -1,6 +1,8 @@
define(['focusManager', 'dom', 'scrollStyles'], function (focusManager, dom) {
'use strict';
focusManager = focusManager.default || focusManager;
function getBoundingClientRect(elem) {
// Support: BlackBerry 5, iOS 3 (original iPhone)
// If we don't have gBCR, just use 0,0 rather than error

View file

@ -2,6 +2,7 @@ define(['connectionManager', 'playbackManager', 'syncPlayManager', 'events', 'in
'use strict';
playbackManager = playbackManager.default || playbackManager;
focusManager = focusManager.default || focusManager;
var serverNotifications = {};