mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix eslint errors
This commit is contained in:
parent
60e64f8a58
commit
d345e32333
1 changed files with 12 additions and 12 deletions
|
@ -342,18 +342,18 @@ define(["appSettings", "browser", "events", "htmlMediaHelper"], function (appSet
|
||||||
|
|
||||||
require(["actionsheet"], function (actionsheet) {
|
require(["actionsheet"], function (actionsheet) {
|
||||||
exitPromise = actionsheet.show({
|
exitPromise = actionsheet.show({
|
||||||
title: Globalize.translate("MessageConfirmAppExit"),
|
title: Globalize.translate("MessageConfirmAppExit"),
|
||||||
items: [
|
items: [
|
||||||
{id: "yes", name: Globalize.translate("Yes")},
|
{id: "yes", name: Globalize.translate("Yes")},
|
||||||
{id: "no", name: Globalize.translate("No")}
|
{id: "no", name: Globalize.translate("No")}
|
||||||
]
|
]
|
||||||
}).then(function (value) {
|
}).then(function (value) {
|
||||||
if (value === "yes") {
|
if (value === "yes") {
|
||||||
doExit();
|
doExit();
|
||||||
}
|
}
|
||||||
}).finally(function () {
|
}).finally(function () {
|
||||||
exitPromise = null;
|
exitPromise = null;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue