watch-party/frontend/main.mjs

12 lines
248 B
JavaScript
Raw Normal View History

2021-12-03 19:37:16 +00:00
import { setupJoinSessionForm } from "./lib/join-session.mjs?v=4";
2021-11-09 13:21:14 +00:00
const main = () => {
setupJoinSessionForm();
};
if (document.readyState === "complete") {
main();
} else {
document.addEventListener("DOMContentLoaded", main);
}