Typo in JS code

master
Daniel Berteaud 10 years ago
parent 3db996d2a7
commit 2aa4042027
  1. 2
      public/js/vroom.js

@ -1934,7 +1934,7 @@ function initVroom(room) {
$('#displayName').parent().removeClass('has-error');
}
// Enable chat input when you set your disaplay name
if (name !i== '' && $('#chatBox').attr('disabled')){
if (name !== '' && $('#chatBox').attr('disabled')){
$('#chatBox').removeAttr('disabled').removeAttr('placeholder');
peers.local.hasName = true;
}

Loading…
Cancel
Save