mirror of
https://github.com/dani/vroom.git
synced 2024-06-30 07:13:41 +02:00
Slightly delay the disconnected modal
So it's not displayed when quiting or refreshing the page
This commit is contained in:
parent
eb90707b39
commit
dfe38a654d
|
@ -1294,7 +1294,9 @@ function initVroom(room) {
|
|||
|
||||
// Detect connection lost
|
||||
webrtc.connection.socket.on('disconnect', function(){
|
||||
$('#disconnected').modal('show');
|
||||
setTimeout(function(){
|
||||
$('#disconnected').modal('show');
|
||||
}, 2000);
|
||||
});
|
||||
|
||||
// Do not close the dropdown menus (invite/conf) when filling fields
|
||||
|
|
Loading…
Reference in New Issue
Block a user