Slightly delay the disconnected modal

So it's not displayed when quiting or refreshing the page
master
Daniel Berteaud 11 years ago
parent eb90707b39
commit dfe38a654d
  1. 2
      public/js/vroom.js

@ -1294,7 +1294,9 @@ function initVroom(room) {
// Detect connection lost
webrtc.connection.socket.on('disconnect', function(){
setTimeout(function(){
$('#disconnected').modal('show');
}, 2000);
});
// Do not close the dropdown menus (invite/conf) when filling fields

Loading…
Cancel
Save