From 14bbf0923094f14d82c6ddabe0432e0f6160f952 Mon Sep 17 00:00:00 2001 From: Steven Davies Date: Sat, 29 Jul 2017 19:18:56 +0100 Subject: [PATCH] Fix string concatenation to be addition --- public_html/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/script.js b/public_html/script.js index 4c3d3c3..c9511b0 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -381,7 +381,7 @@ function end_load_history() { // Process history for (var h = 0; h < PositionHistoryBuffer.length; ++h) { 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]); // update track