mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix linting
This commit is contained in:
parent
c37e8f2f1b
commit
43d01146a2
4 changed files with 8 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue