2022-04-29 22:25:31 +00:00
|
|
|
import { setupJoinSessionForm } from "./lib/join-session.mjs?v=bfdcf2";
|
2023-01-28 14:04:05 +00:00
|
|
|
import {
|
|
|
|
toggleOptionPane,
|
|
|
|
togglePlayerControlsShown,
|
|
|
|
handlePlingVolume
|
|
|
|
} from "./lib/options-pane.mjs?v=bfdcf2";
|
2021-11-09 13:21:14 +00:00
|
|
|
|
|
|
|
const main = () => {
|
|
|
|
setupJoinSessionForm();
|
2023-01-28 14:04:05 +00:00
|
|
|
window.toggleOptionPane = toggleOptionPane;
|
|
|
|
window.togglePlayerControlsShown = togglePlayerControlsShown;
|
|
|
|
window.handlePlingVolume = handlePlingVolume
|
2021-11-09 13:21:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
if (document.readyState === "complete") {
|
|
|
|
main();
|
|
|
|
} else {
|
|
|
|
document.addEventListener("DOMContentLoaded", main);
|
|
|
|
}
|