fixes for lint errors
added missing packages for lint removed unecessary babel/polyfill
This commit is contained in:
@@ -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);
|
||||
|
||||
+1
-1
@@ -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;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user