Fix disconnect modals
This commit is contained in:
parent
76bd25ac21
commit
8c9e543b91
|
@ -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 New Issue