Wait a bit before enabling owner's action button

As all the channels have to be ready first
master
Daniel Berteaud 11 years ago
parent fded08fef8
commit 319dd9a03e
  1. 2
      public/js/vroom.js

@ -374,6 +374,7 @@ function initVroom(room) {
id: 'actionKick_' + id,
click: function() { kickPeer(id) },
}).prop('title', locale.KICK_PEER)));
setTimeout (function(){
$(div).hover(
function(){
if (peers.local.role == 'owner'){
@ -384,6 +385,7 @@ function initVroom(room) {
$('#ownerActions_' + id).hide(200);
}
);
}, 3500);
// Create a new dataChannel
// will be used for text chat and displayName
var color = chooseColor();

Loading…
Cancel
Save