Merge pull request #13388 from Chocobo1/webui

Add missing semicolons in WebUI
This commit is contained in:
Mike Tzou 2020-09-18 11:56:35 +08:00 committed by GitHub
commit 70d9ea8034
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 24 deletions

View file

@ -1305,9 +1305,9 @@ window.qBittorrent.DynamicTable = (function() {
return false;
break;
default:
const tracker = trackerList.get(trackerHashInt)
const tracker = trackerList.get(trackerHashInt);
if (tracker && !tracker.torrents.includes(row['full_data'].rowId))
return false
return false;
break;
}

View file

@ -824,7 +824,7 @@ const initializeWindows = function() {
hashes = torrentsTable.getFilteredTorrentsHashes('all', CATEGORIES_ALL, TAGS_ALL, TRACKERS_TRACKERLESS);
break;
default:
hashes = trackerList.get(trackerHashInt).torrents
hashes = trackerList.get(trackerHashInt).torrents;
break;
}
@ -851,7 +851,7 @@ const initializeWindows = function() {
hashes = torrentsTable.getFilteredTorrentsHashes('all', CATEGORIES_ALL, TAGS_ALL, TRACKERS_TRACKERLESS);
break;
default:
hashes = trackerList.get(trackerHashInt).torrents
hashes = trackerList.get(trackerHashInt).torrents;
break;
}

View file

@ -462,7 +462,7 @@
recFlatten(current[child], child, depth + 1, currentFullName);
}
}
}
};
recFlatten(response);
// check if rows matche flattend response

View file

@ -456,7 +456,7 @@ Supports the formats: S01E01, 1x1, 2017.01.01 and 01.01.2017 (Date formats also
}).send();
$('savetoDifferentDir').addEvent('click', () => {
$('saveToText').disabled = !$('savetoDifferentDir').checked;
})
});
updateRulesList();
};