Skip to content

Commit

Permalink
Release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iz1kga committed Mar 5, 2021
1 parent a248032 commit 443fdd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions iMeshDashboard/templates/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@
}
}
}

var timeSpan = (GetURLParameter('since') ? GetURLParameter('since') : '6');
for (k = 0; k < nodes.length; k++) {
if(parseInt(nodes[k][5]) <= parseInt(GetURLParameter('since')))
if(parseInt(nodes[k][5]) <= parseInt(timeSpan))
{
locations.push(nodes[k]);
}
}

var selectedSpan = 'H'+GetURLParameter('since');
var selectedSpan = 'H'+ timeSpan;
document.getElementById(selectedSpan).classList.add("bold");


Expand Down Expand Up @@ -200,7 +200,7 @@
tracking: true
});
geolocation.on('change', function (evt) {
console.log(geolocation.getPosition());
//console.log(geolocation.getPosition());
map.getView().setCenter(geolocation.getPosition());
});

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name = "iMesh-Dashboard",
version = "0.0.8",
version = "0.1.0",
author = "iz1kga",
author_email = "[email protected]",
description = "Create Dashboard for serial connected meshtastic device",
Expand Down

0 comments on commit 443fdd2

Please sign in to comment.