From a4ff0270771826d4070f702d4bc3518121eaafa2 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Fri, 7 Sep 2012 13:10:07 +0200 Subject: [PATCH] Display stream status error messages properly. --- lsp/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsp/main.js b/lsp/main.js index 77ea6c8a..3bd48afa 100644 --- a/lsp/main.js +++ b/lsp/main.js @@ -443,7 +443,7 @@ TODO als server het stuurt { $(row.children()[3]).html("Running"); }else{ - $(row.children()[3]).html("" + (status == 0 ? 'Offline' : 'Unknown, checking...') + ""); + $(row.children()[3]).html("" + (status == 0 ? 'Offline' : (!status ? 'Unknown, checking...' : status) ) + ""); } $(row.children()[4]).text(streams[stream][1]);