watch-party/frontend/create.mjs

12 lines
250 B
JavaScript
Raw Permalink Normal View History

2021-11-11 17:26:30 +00:00
import { setupCreateSessionForm } from "./lib/create-session.mjs";
const main = () => {
setupCreateSessionForm();
};
if (document.readyState === "complete") {
main();
} else {
document.addEventListener("DOMContentLoaded", main);
}