Fix string concatenation to be addition

This commit is contained in:
Steven Davies 2017-07-29 19:18:56 +01:00
parent 74c9cb564c
commit 14bbf09230

View file

@ -381,7 +381,7 @@ function end_load_history() {
// Process history // Process history
for (var h = 0; h < PositionHistoryBuffer.length; ++h) { for (var h = 0; h < PositionHistoryBuffer.length; ++h) {
now = PositionHistoryBuffer[h].now; now = PositionHistoryBuffer[h].now;
console.log("Applying history " + h + 1 + "/" + PositionHistoryBuffer.length + " at: " + now); console.log("Applying history " + (h + 1) + "/" + PositionHistoryBuffer.length + " at: " + now);
processReceiverUpdate(PositionHistoryBuffer[h]); processReceiverUpdate(PositionHistoryBuffer[h]);
// update track // update track