Empty password fields on modal dismiss

master
Daniel Berteaud 11 years ago
parent 4fb6de7a1d
commit 3e8b0bb819
  1. 5
      public/js/vroom.js

@ -2025,6 +2025,11 @@ function initVroom(room) {
} }
}); });
// Empty password fields on modal dismiss
$('#joinPassModal,#persistentModal').on('hide.bs.modal',function(){
$(this).find(':input').val('');
});
// Remove the active class on the help button // Remove the active class on the help button
$('#helpModal').on('hide.bs.modal',function(){ $('#helpModal').on('hide.bs.modal',function(){
$('#helpButton').removeClass('active'); $('#helpButton').removeClass('active');

Loading…
Cancel
Save