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:
parent
03e659e629
commit
a48d466e6a
21 changed files with 26 additions and 31 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue