mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix ES6 errors
This commit is contained in:
parent
4fa691d80d
commit
fa9c275735
2 changed files with 2 additions and 2 deletions
|
@ -584,7 +584,7 @@ class ChromecastPlayer {
|
||||||
this.isLocalPlayer = false;
|
this.isLocalPlayer = false;
|
||||||
this.lastPlayerData = {};
|
this.lastPlayerData = {};
|
||||||
|
|
||||||
new castSenderApiLoader.default().load().then(initializeChromecast.bind(this));
|
new castSenderApiLoader().load().then(initializeChromecast.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
tryPair(target) {
|
tryPair(target) {
|
||||||
|
|
|
@ -850,7 +850,7 @@ import 'flexStyles';
|
||||||
let requiresUserRefresh = true;
|
let requiresUserRefresh = true;
|
||||||
|
|
||||||
function setTabs (type, selectedIndex, builder) {
|
function setTabs (type, selectedIndex, builder) {
|
||||||
import('mainTabsManager').then(({default: mainTabsManager}) => {
|
import('mainTabsManager').then((mainTabsManager) => {
|
||||||
if (type) {
|
if (type) {
|
||||||
mainTabsManager.setTabs(viewManager.currentView(), selectedIndex, builder, function () {
|
mainTabsManager.setTabs(viewManager.currentView(), selectedIndex, builder, function () {
|
||||||
return [];
|
return [];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue