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

update startup wizard instructions

This commit is contained in:
Luke Pulverenti 2016-12-22 16:52:18 -05:00
parent 315d60943d
commit 47c6980d11
12 changed files with 33 additions and 33 deletions

View file

@ -1665,7 +1665,7 @@ var AppInfo = {};
define("imageFetcher", [embyWebComponentsBowerPath + "/images/basicimagefetcher"], returnFirstDependency);
}
var preferNativeAlerts = browser.tv || browser.xboxOne || browser.ps4;
var preferNativeAlerts = browser.tv;
// use native alerts if preferred and supported (not supported in opera tv)
if (preferNativeAlerts && window.alert) {
define("alert", [embyWebComponentsBowerPath + "/alert/nativealert"], returnFirstDependency);
@ -1681,7 +1681,8 @@ var AppInfo = {};
define("confirm", [embyWebComponentsBowerPath + "/confirm/confirm"], returnFirstDependency);
}
if (preferNativeAlerts && window.prompt) {
var preferNativePrompt = preferNativeAlerts || browser.xboxOne || browser.ps4;
if (preferNativePrompt && window.confirm) {
define("prompt", [embyWebComponentsBowerPath + "/prompt/nativeprompt"], returnFirstDependency);
} else {
define("prompt", [embyWebComponentsBowerPath + "/prompt/prompt"], returnFirstDependency);