watch-party/frontend/main.mjs

11 lines
248 B
JavaScript

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