watch-party/frontend/main.mjs

12 lines
248 B
JavaScript

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