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

@ -2,6 +2,7 @@ define(['browser', 'layoutManager', 'dom', 'focusManager', 'ResizeObserver', 'sc
'use strict';
browser = browser.default || browser;
focusManager = focusManager.default || focusManager;
/**
* Return type of the value.
@ -697,7 +698,7 @@ define(['browser', 'layoutManager', 'dom', 'focusManager', 'ResizeObserver', 'sc
function onFrameClick(e) {
if (e.which === 1) {
var focusableParent = focusManager.default.focusableParent(e.target);
var focusableParent = focusManager.focusableParent(e.target);
if (focusableParent && focusableParent !== document.activeElement) {
focusableParent.focus();
}