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

Merge branch 'master' into migrate-to-ES6-46

This commit is contained in:
Cameron 2020-08-04 11:44:57 +01:00 committed by GitHub
commit df03900f45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
188 changed files with 6238 additions and 7468 deletions

View file

@ -36,7 +36,7 @@ class HomeView extends TabbedView {
}
getTabController(index) {
if (null == index) {
if (index == null) {
throw new Error('index cannot be null');
}
@ -56,7 +56,7 @@ class HomeView extends TabbedView {
let controller = instance.tabControllers[index];
if (!controller) {
controller = new controllerFactory(instance.view.querySelector(".tabContent[data-index='" + index + "']"), instance.params);
controller = new controllerFactory.default(instance.view.querySelector(".tabContent[data-index='" + index + "']"), instance.params);
instance.tabControllers[index] = controller;
}