mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
Fix disconnect modals
This commit is contained in:
parent
76bd25ac21
commit
8c9e543b91
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ var padconnectionstatus = (function()
|
||||||
why: msg
|
why: msg
|
||||||
};
|
};
|
||||||
|
|
||||||
var k = String(msg).toLowerCase(); // known reason why
|
var k = String(msg); // known reason why
|
||||||
if (!(k == 'userdup' || k == 'deleted' || k == 'looping' || k == 'slowcommit' || k == 'initsocketfail' || k == 'unauth' || k == 'badChangeset' || k == 'corruptPad'))
|
if (!(k == 'userdup' || k == 'deleted' || k == 'looping' || k == 'slowcommit' || k == 'initsocketfail' || k == 'unauth' || k == 'badChangeset' || k == 'corruptPad'))
|
||||||
{
|
{
|
||||||
k = 'disconnected';
|
k = 'disconnected';
|
||||||
|
|
Loading…
Reference in a new issue