1
0
Fork 0
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:
Dmitry Lyzo 2020-01-21 14:04:26 +03:00
parent 60e64f8a58
commit d345e32333

View file

@ -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;
}); });
}); });
} }