Fixed Bug with script
This commit is contained in:
parent
43e15b2d8b
commit
b649e2ba9e
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
var qrz = 1;
|
var qrz = 1;
|
||||||
|
|
||||||
// 1 = enable debug in javascript-console, 0 = 0ff
|
// 1 = enable debug in javascript-console, 0 = 0ff
|
||||||
var debug = 0;
|
var debug = 1;
|
||||||
|
|
||||||
// Set messagecounters for different badge-colors
|
// Set messagecounters for different badge-colors
|
||||||
var warnlevel = 200;
|
var warnlevel = 200;
|
||||||
|
|
|
@ -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%
|
// 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() {
|
$(document).ready(function() {
|
||||||
lines = event.data.split("\n");
|
lines = event.data.split("\n");
|
||||||
lines.forEach(function(line, index, array)) {
|
lines.forEach(function(line, index, array) {
|
||||||
if (getSource(line) == "RF") {
|
if (getSource(line) == "RF") {
|
||||||
if (getDuration(line) !== "") {
|
if (getDuration(line) !== "") {
|
||||||
t_localh.row.add( [
|
t_localh.row.add( [
|
||||||
|
@ -274,7 +274,7 @@ function getLocalHeard(document, event) {
|
||||||
] ).draw();
|
] ).draw();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue