mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
apply overlay and remove overlay instantly
This commit is contained in:
parent
7f09ec25a2
commit
36814ed42b
1 changed files with 4 additions and 4 deletions
|
@ -43,9 +43,8 @@ var padconnectionstatus = (function()
|
||||||
status = {
|
status = {
|
||||||
what: 'connected'
|
what: 'connected'
|
||||||
};
|
};
|
||||||
|
|
||||||
padmodals.showModal('connected');
|
padmodals.showModal('connected');
|
||||||
padmodals.hideOverlay(500);
|
padmodals.hideOverlay();
|
||||||
},
|
},
|
||||||
reconnecting: function()
|
reconnecting: function()
|
||||||
{
|
{
|
||||||
|
@ -54,7 +53,7 @@ var padconnectionstatus = (function()
|
||||||
};
|
};
|
||||||
|
|
||||||
padmodals.showModal('reconnecting');
|
padmodals.showModal('reconnecting');
|
||||||
padmodals.showOverlay(500);
|
padmodals.showOverlay();
|
||||||
},
|
},
|
||||||
disconnected: function(msg)
|
disconnected: function(msg)
|
||||||
{
|
{
|
||||||
|
@ -73,10 +72,11 @@ var padconnectionstatus = (function()
|
||||||
}
|
}
|
||||||
|
|
||||||
padmodals.showModal(k);
|
padmodals.showModal(k);
|
||||||
padmodals.showOverlay(500);
|
padmodals.showOverlay();
|
||||||
},
|
},
|
||||||
isFullyConnected: function()
|
isFullyConnected: function()
|
||||||
{
|
{
|
||||||
|
padmodals.hideOverlay();
|
||||||
return status.what == 'connected';
|
return status.what == 'connected';
|
||||||
},
|
},
|
||||||
getStatus: function()
|
getStatus: function()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue