Some code cleanup
This commit is contained in:
parent
c2e79f4b70
commit
476ebf2244
1 changed files with 2 additions and 2 deletions
|
@ -317,7 +317,6 @@ function getLastHeard(document, event) {
|
||||||
document.getElementById("callsign").innerHTML = callsign;
|
document.getElementById("callsign").innerHTML = callsign;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (line.indexOf("Id:") > 0 ) {
|
if (line.indexOf("Id:") > 0 ) {
|
||||||
dmrid = line.substring(line.indexOf("Id:") + 4);
|
dmrid = line.substring(line.indexOf("Id:") + 4);
|
||||||
document.getElementById("dmrid").innerHTML = dmrid;
|
document.getElementById("dmrid").innerHTML = dmrid;
|
||||||
|
@ -485,6 +484,7 @@ function getLastHeard(document, event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getLocalHeard(document, event) {
|
function getLocalHeard(document, event) {
|
||||||
|
|
||||||
$(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) {
|
||||||
|
|
Loading…
Reference in a new issue