Hide auth menu if the owner password is unset

master
Daniel Berteaud 11 years ago
parent 693d2b2a01
commit 1b858a8912
  1. 3
      public/js/vroom.js

@ -161,6 +161,9 @@ function initVroom(room) {
if (data.owner_auth == 'yes'){ if (data.owner_auth == 'yes'){
$('.unauthEl').show(500); $('.unauthEl').show(500);
} }
else{
$('.unauthEl').hide(500);
}
} }
if (data.locked == 'yes'){ if (data.locked == 'yes'){
$('#lockLabel').addClass('btn-danger active'); $('#lockLabel').addClass('btn-danger active');

Loading…
Cancel
Save