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

fixes for lint errors

added missing packages for lint
removed unecessary babel/polyfill
This commit is contained in:
vitorsemeano 2020-10-19 20:25:58 +01:00
parent 03e659e629
commit a48d466e6a
21 changed files with 26 additions and 31 deletions

View file

@ -163,7 +163,7 @@ import { Events } from 'jellyfin-apiclient';
return;
}
let url = filtered[0].path;
const url = filtered[0].path;
import(`../strings/${url}`).then((fileContent) => {
resolve(fileContent);

View file

@ -73,7 +73,7 @@ window.pageIdOn = function(eventName, id, fn) {
});
};
if (self.appMode === 'cordova' || self.appMode === 'android' || self.appMode === 'standalone') {
if (window.appMode === 'cordova' || window.appMode === 'android' || window.appMode === 'standalone') {
AppInfo.isNativeApp = true;
}

View file

@ -17,7 +17,7 @@ function getThemes() {
function getThemeStylesheetInfo(id) {
return getThemes().then(themes => {
const theme = themes.find(theme => {
let theme = themes.find(theme => {
return id ? theme.id === id : theme.default;
});