diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -159,7 +159,7 @@ function Room(_roomid){ this.cvs.width=this.cellsz*W+1; this.cvs.height=this.cellsz*H+1; this.cvs.addEventListener("click",function(ev){ - this.chatinput.focus(); + //this.chatinput.focus(); if(!this.canplace)return; if(ev.target!=this.cvs)return; var bbox=ev.target.getBoundingClientRect(); @@ -194,7 +194,7 @@ Room.prototype.becomeVisible=function(){ else document.getElementById("roomuisplash").classList.remove("invisible"); visibleroomuidiv=this.uidiv; this.uidiv.classList.remove("invisible"); - this.chatinput.focus(); + //this.chatinput.focus(); }; Room.prototype.join=function(user){ this.listdiv.innerHTML+=" "+user[1]; |