mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-30 17:57:49 +01:00
allow moderators to kick players and spectators
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
import { XHRUtility } from '../modules/utility/XHRUtility.js';
|
||||
import { toast } from '../modules/front_end_components/Toast.js';
|
||||
import { injectNavbar } from '../modules/front_end_components/Navbar.js';
|
||||
import { Confirmation } from '../modules/front_end_components/Confirmation.js';
|
||||
|
||||
const home = () => {
|
||||
injectNavbar();
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const message = urlParams.get('message');
|
||||
if (message && message.length > 0) {
|
||||
Confirmation(message);
|
||||
}
|
||||
document.getElementById('join-form').addEventListener('submit', attemptToJoinGame);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user