Update Frontend-WEB/world.seppjm.com/3js/world.js

I had asked the LLM to “koppel” the buttons hook the functions, and ask for advice as i wasn’t sure yet if i wanted to “inject” the buttons with JS or keep them static with HTML. LLM didn’t come with information but just a solution that i copied and pasted. Weird comment. But i think you understand that after 3 days i just wanted a working prototype
This commit is contained in:
2025-09-16 19:50:06 +00:00
parent 19fd585416
commit a5b1d61951

View File

@@ -594,7 +594,7 @@ function startPlay(){
addEventListener("keyup",(e)=> keys.delete(e.code));
}
/* join hooks — match your exact buttons and href */
/* join hooks */
(function hookJoin(){
const candidates=[
'#join-btn', '#spectate-btn',