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

Fix linting

This commit is contained in:
Matt Montgomery 2020-04-19 01:39:05 -05:00
parent c37e8f2f1b
commit 43d01146a2
4 changed files with 8 additions and 9 deletions

View file

@ -2,7 +2,7 @@ define(["jQuery", "loading", "fnchecked"], function ($, loading) {
"use strict";
var page;
function loadPage(page, status) {
function loadPage(status) {
var active = (status == "Active");
var available = (status == "Available") || active;
@ -49,7 +49,7 @@ define(["jQuery", "loading", "fnchecked"], function ($, loading) {
function updatePage() {
var promise1 = ApiClient.getQuickConnect("Status");
Promise.all([promise1]).then((responses) => {
loadPage(page, responses[0]);
loadPage(responses[0]);
return true;
}).catch((e) => {
console.error("Unable to get quick connect status. error:", e);