2025-02-11 23:04:28 +01:00

16 lines
331 B
JavaScript

const api = new API(API_URL);
const root = document.getElementById("root");
async function init() {
let library = await api.getLibrary("series");
for (let group in library.videos) {
root.appendChild(components.series(group, library.videos[group]));
}
document.getElementById("loading").style.display = 'none';
}
init();