forked from forktown/watch-party
12 lines
250 B
JavaScript
12 lines
250 B
JavaScript
|
import { setupCreateSessionForm } from "./lib/create-session.mjs";
|
||
|
|
||
|
const main = () => {
|
||
|
setupCreateSessionForm();
|
||
|
};
|
||
|
|
||
|
if (document.readyState === "complete") {
|
||
|
main();
|
||
|
} else {
|
||
|
document.addEventListener("DOMContentLoaded", main);
|
||
|
}
|