mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix issue with certain controllers during page load
This commit is contained in:
parent
680e562779
commit
523f060e99
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ define(['viewContainer', 'focusManager', 'queryString', 'layoutManager'], functi
|
|||
|
||||
if (typeof options.controllerFactory === 'function') {
|
||||
var controller = new options.controllerFactory(newView, eventDetail.detail.params);
|
||||
} else if (options.controllerFactory.default && typeof options.controllerFactory.default === 'function') {
|
||||
} else if (options.controllerFactory && typeof options.controllerFactory.default === 'function') {
|
||||
var controller = new options.controllerFactory.default(newView, eventDetail.detail.params);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue