From 97401bed5f0ef9097c3ddb44f2080ee884b58409 Mon Sep 17 00:00:00 2001 From: libccy Date: Wed, 19 Apr 2017 13:23:33 +0800 Subject: [PATCH] 3 --- game/game.js | 1 + game/server.js | 1 + layout/default/menu.css | 2 ++ 3 files changed, 4 insertions(+) diff --git a/game/game.js b/game/game.js index 9e8d42843..5112859fe 100644 --- a/game/game.js +++ b/game/game.js @@ -35835,6 +35835,7 @@ button.input.onkeydown=function(e){ if(e.keyCode==13&&!this.disabled){ game.send('server','status',this.value); + this.blur(); this.disabled=true; this.style.opacity=0.6; button.textnode.innerHTML='ε‘ηŠΆζ€(10)'; diff --git a/game/server.js b/game/server.js index d98fab21d..f2a45bc74 100644 --- a/game/server.js +++ b/game/server.js @@ -15,6 +15,7 @@ room=rooms[0]; } this.room=room; + delete this.status; if(room.owner){ if(room.servermode&&!room.owner._onconfig&&config&&mode){ room.owner.sendl('createroom',index,config,mode); diff --git a/layout/default/menu.css b/layout/default/menu.css index 265ee4d0f..826c987d9 100644 --- a/layout/default/menu.css +++ b/layout/default/menu.css @@ -1260,6 +1260,8 @@ input.fileinput::-webkit-file-upload-button { } .onlineclient .videonode>.name{ left: 35px; + max-width: 125px; + overflow: hidden; white-space: nowrap; text-align: left; height: 30px;