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

manual changes for no-var eslint rule

This commit is contained in:
dkanada 2020-10-08 00:47:23 +09:00
parent 3374114a37
commit 237e8ddc4c
8 changed files with 13 additions and 12 deletions

View file

@ -254,7 +254,7 @@ import 'material-icons';
function loadNodesToLoad(page, node) {
const children = node.children;
for (let i = 0, length = children.length; i < length; i++) {
var child = children[i];
const child = children[i];
if (nodesToLoad.indexOf(child) != -1) {
nodesToLoad = nodesToLoad.filter(function (n) {
return n != child;
@ -297,7 +297,7 @@ import 'material-icons';
const url = window.location.hash || window.location.href;
return getParameterByName('id', url);
}
var nodesToLoad = [];
let nodesToLoad = [];
let selectedNodeId;
$(document).on('itemsaved', '.metadataEditorPage', function (e, item) {
updateEditorNode(this, item);