multiple fixes and otimizations

This commit is contained in:
vitorsemeano 2020-11-07 12:05:09 +00:00
parent 1171bc1cdf
commit b49524e5ea
10 changed files with 9 additions and 18 deletions

View file

@ -143,7 +143,6 @@ import { Events } from 'jellyfin-apiclient';
return Promise.all(promises);
}
const cacheParam = new Date().getTime();
function loadTranslation(translations, lang) {
lang = normalizeLocaleName(lang);
let filtered = translations.filter(function (t) {
@ -156,7 +155,6 @@ import { Events } from 'jellyfin-apiclient';
});
}
//import('../strings/')
return new Promise(function (resolve, reject) {
if (!filtered.length) {
resolve();