watch-party/frontend/main.mjs
2021-11-20 02:12:53 +01:00

11 lines
248 B
JavaScript

import { setupJoinSessionForm } from "./lib/join-session.mjs?v=3";
const main = () => {
setupJoinSessionForm();
};
if (document.readyState === "complete") {
main();
} else {
document.addEventListener("DOMContentLoaded", main);
}