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

merging ifs

This commit is contained in:
vitorsemeano 2019-03-04 20:47:00 +00:00
parent e60da6b545
commit 7e22a64238

View file

@ -1276,11 +1276,9 @@ var AppInfo = {};
initLocalSyncEvents(); initLocalSyncEvents();
} }
if (!AppInfo.isNativeApp) { if (!AppInfo.isNativeApp && window.ApiClient) {
if (window.ApiClient) {
require(["css!" + ApiClient.getUrl("Branding/Css")]); require(["css!" + ApiClient.getUrl("Branding/Css")]);
} }
}
}); });
} }
} }