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

consolidate internal interfaces

This commit is contained in:
Luke Pulverenti 2016-10-31 00:28:23 -04:00
parent b9b2921907
commit 19051edaa7
2 changed files with 1 additions and 7 deletions

View file

@ -1648,7 +1648,7 @@ var AppInfo = {};
define("imageFetcher", [embyWebComponentsBowerPath + "/images/basicimagefetcher"], returnFirstDependency);
}
var preferNativeAlerts = (browser.mobile && !browser.animate) || browser.tv || browser.xboxOne || browser.ps4;
var preferNativeAlerts = 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);