mirror of
https://github.com/dani/vroom.git
synced 2024-06-28 17:53:42 +02:00
Empty password fields on modal dismiss
This commit is contained in:
parent
4fb6de7a1d
commit
3e8b0bb819
|
@ -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
|
||||
$('#helpModal').on('hide.bs.modal',function(){
|
||||
$('#helpButton').removeClass('active');
|
||||
|
|
Loading…
Reference in New Issue
Block a user