From 0153614c250299eb56d2e3e6af6ef70649f31141 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 15 Dec 2015 13:01:34 +0100 Subject: less autofocus --- index.html | 4 ++-- 1 file 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]; -- cgit v1.2.3