From 48c296fc3cf3864d8bc463c7b4d8c254d0bed622 Mon Sep 17 00:00:00 2001 From: Cat Date: Mon, 13 May 2013 14:38:22 +0200 Subject: [PATCH] LSP: fixed log retrieval interval running while on other tabs --- lsp/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lsp/main.js b/lsp/main.js index 8940c81a..d4179bae 100644 --- a/lsp/main.js +++ b/lsp/main.js @@ -78,6 +78,9 @@ // and this one is used on the protocols page. var pinterval = null; + // ..and the logs page. + var logsinterval = null; + // what kind of streams should be displayed? Format is [recorded, live]; var streamsdisplay = [true, true]; @@ -95,6 +98,7 @@ $('#page').html(''); clearInterval(sinterval); clearInterval(pinterval); + clearInterval(logsinterval); switch(name) {