watch-party/frontend/main.mjs

12 lines
248 B
JavaScript
Raw Permalink Normal View History

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