From 8c9e543b913fb4defe938f8962d023c299f52a3e Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Sat, 12 Oct 2013 22:29:03 +0200 Subject: [PATCH] Fix disconnect modals --- src/static/js/pad_connectionstatus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/pad_connectionstatus.js b/src/static/js/pad_connectionstatus.js index 86eff6c7e..4cbf16425 100644 --- a/src/static/js/pad_connectionstatus.js +++ b/src/static/js/pad_connectionstatus.js @@ -65,7 +65,7 @@ var padconnectionstatus = (function() 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')) { k = 'disconnected';