From b649e2ba9eb066552e157a0a6600f391a5bd59be Mon Sep 17 00:00:00 2001 From: Kim - DG9VH Date: Mon, 9 Nov 2020 19:26:52 +0100 Subject: [PATCH] Fixed Bug with script --- html/js/config.js | 2 +- html/js/functions.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/html/js/config.js b/html/js/config.js index 7301101..1af30d4 100644 --- a/html/js/config.js +++ b/html/js/config.js @@ -2,7 +2,7 @@ var qrz = 1; // 1 = enable debug in javascript-console, 0 = 0ff -var debug = 0; +var debug = 1; // Set messagecounters for different badge-colors var warnlevel = 200; diff --git a/html/js/functions.js b/html/js/functions.js index e003508..4ee072b 100644 --- a/html/js/functions.js +++ b/html/js/functions.js @@ -260,7 +260,7 @@ function getLocalHeard(document, event) { // M: 2020-11-01 21:33:35.025 YSF, received network end of transmission from DG2MAS to DG-ID 0, 7.7 seconds, 0% packet loss, BER: 0.0% $(document).ready(function() { lines = event.data.split("\n"); - lines.forEach(function(line, index, array)) { + lines.forEach(function(line, index, array) { if (getSource(line) == "RF") { if (getDuration(line) !== "") { t_localh.row.add( [ @@ -274,7 +274,7 @@ function getLocalHeard(document, event) { ] ).draw(); } } - } + }); }); }