summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-12-15 13:01:34 +0100
committertomsmeding <hallo@tomsmeding.nl>2015-12-15 13:01:34 +0100
commit0153614c250299eb56d2e3e6af6ef70649f31141 (patch)
treed8ca6d778e5ea320ff866e8971c29ff7f4687ec4
parent7944bf6fe91e5af2f42aad4554e59328fafe477a (diff)
less autofocus
-rw-r--r--index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.html b/index.html
index b2c25e1..087a099 100644
--- a/index.html
+++ b/index.html
@@ -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];