Forbid color change if etherpad is opened

So colors doesn't get out of sync
master
Daniel Berteaud 11 years ago
parent a0c2084d07
commit c4a87c698c
  1. 2
      public/js/vroom.js

@ -1952,10 +1952,12 @@ function initVroom(room) {
}
$('#etherpadLabel').addClass('btn-danger');
$('#etherpadContainer').slideDown('200');
$('#changeColorButton').addClass('disabled');
}
else{
$('#etherpadLabel').removeClass('btn-danger');
$('#etherpadContainer').slideUp('200');
$('#changeColorButton').removeClass('disabled');
}
});
}

Loading…
Cancel
Save