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

pass requested fields to data layer

This commit is contained in:
Luke Pulverenti 2016-10-08 01:57:38 -04:00
parent e97f59a691
commit 81788655e9
5 changed files with 8 additions and 34 deletions

View file

@ -148,16 +148,8 @@ define(['appStorage', 'browser'], function (appStorage, browser) {
features.push('fullscreen');
}
if (!browser.mobile) {
if (browser.safari) {
if (browser.versionMajor && browser.versionMajor >= 10) {
features.push('imageanalysis');
}
} else {
features.push('imageanalysis');
}
if (!browser.slow) {
features.push('imageanalysis');
}
return features;