Fix disconnect modals

This commit is contained in:
Marcel Klehr 2013-10-12 22:29:03 +02:00
parent 76bd25ac21
commit 8c9e543b91
1 changed files with 1 additions and 1 deletions

View File

@ -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';