diff options
author | tomsmeding <hallo@tomsmeding.nl> | 2015-12-15 13:01:34 +0100 |
---|---|---|
committer | tomsmeding <hallo@tomsmeding.nl> | 2015-12-15 13:01:34 +0100 |
commit | 0153614c250299eb56d2e3e6af6ef70649f31141 (patch) | |
tree | d8ca6d778e5ea320ff866e8971c29ff7f4687ec4 | |
parent | 7944bf6fe91e5af2f42aad4554e59328fafe477a (diff) |
less autofocus
-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]; |