watch-party/frontend/create.mjs

11 lines
254 B
JavaScript

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