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

update device discovery

This commit is contained in:
Luke Pulverenti 2016-09-13 13:49:13 -04:00
parent 62265de2e5
commit fdc83ada98
21 changed files with 119 additions and 80 deletions

View file

@ -1633,7 +1633,7 @@ var AppInfo = {};
define("imageFetcher", [embyWebComponentsBowerPath + "/images/basicimagefetcher"], returnFirstDependency);
}
var preferNativeAlerts = browser.mobile || browser.tv || browser.xboxOne;
var preferNativeAlerts = (browser.mobile && !browser.animate) || browser.tv || browser.xboxOne || browser.ps4;
// use native alerts if preferred and supported (not supported in opera tv)
if (preferNativeAlerts && window.alert) {
define("alert", [embyWebComponentsBowerPath + "/alert/nativealert"], returnFirstDependency);
@ -2182,7 +2182,7 @@ var AppInfo = {};
defineRoute({
path: '/livetvtunerprovider-satip.html',
dependencies: ['emby-input', 'paper-checkbox'],
dependencies: ['emby-input'],
autoFocus: false,
roles: 'admin',
controller: 'dashboard/livetvtunerprovider-satip'