Hide password fields after authentication

master
Daniel Berteaud 10 years ago
parent 34cf709893
commit 6e93589a75
  1. 1
      public/js/vroom.js

@ -1848,6 +1848,7 @@ function initVroom(room) {
$('#authPass').val(''); $('#authPass').val('');
$('#ownerAuthModal').modal('hide'); $('#ownerAuthModal').modal('hide');
getRoomInfo(); getRoomInfo();
$('#joinPassFields,#ownerPassFields').hide();
$.notify(data.msg, 'success'); $.notify(data.msg, 'success');
} }
}); });

Loading…
Cancel
Save