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:
parent
315d60943d
commit
47c6980d11
12 changed files with 33 additions and 33 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue