From dac515d5f7e9f90db57f4101a7a1f02268a610aa Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 21 May 2014 18:43:41 +0200 Subject: [PATCH] Enable chat when the displayName is set before joining the room --- public/js/vroom.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/js/vroom.js b/public/js/vroom.js index d853431..737f406 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -976,6 +976,8 @@ function initVroom(room) { peers.local.hasName = true; peers.local.displayName = name; updateDisplayName('local'); + $('#chatBox').removeAttr('disabled'); + $('#chatBox').removeAttr('placeholder'); webrtc.joinRoom(room); } });