watch-party/frontend/main.mjs
2021-11-09 13:21:14 +00:00

11 lines
244 B
JavaScript

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