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:
parent
b9b2921907
commit
19051edaa7
2 changed files with 1 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue