watch-party/frontend/main.mjs

12 lines
248 B
JavaScript
Raw Normal View History

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