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'); $('#etherpadLabel').addClass('btn-danger');
$('#etherpadContainer').slideDown('200'); $('#etherpadContainer').slideDown('200');
$('#changeColorButton').addClass('disabled');
} }
else{ else{
$('#etherpadLabel').removeClass('btn-danger'); $('#etherpadLabel').removeClass('btn-danger');
$('#etherpadContainer').slideUp('200'); $('#etherpadContainer').slideUp('200');
$('#changeColorButton').removeClass('disabled');
} }
}); });
} }

Loading…
Cancel
Save