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:
@@ -594,7 +594,7 @@ function startPlay(){
|
|||||||
addEventListener("keyup",(e)=> keys.delete(e.code));
|
addEventListener("keyup",(e)=> keys.delete(e.code));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* join hooks — match your exact buttons and href */
|
/* join hooks */
|
||||||
(function hookJoin(){
|
(function hookJoin(){
|
||||||
const candidates=[
|
const candidates=[
|
||||||
'#join-btn', '#spectate-btn',
|
'#join-btn', '#spectate-btn',
|
||||||
|
Reference in New Issue
Block a user