aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-07-05 22:34:20 +0200
committertomsmeding <tom.smeding@gmail.com>2017-07-05 22:34:20 +0200
commit171d87619d47ae5179f26b7c6f039c9904e7e07c (patch)
treea57cc8209b84f9931069c617f63714f6fe521c72
parent4b4b42877fc81ad055f5326185e80530d23361e7 (diff)
webclient: Update for id in history
-rw-r--r--webclient/client.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/client.html b/webclient/client.html
index c02c6aa..57eee90 100644
--- a/webclient/client.html
+++ b/webclient/client.html
@@ -128,7 +128,7 @@ function reconnect(){
else if(type=="history"){
var count=+spl.word[2];
net_callbacks[id]=net_historyCollectionCallback.bind(this,id,[],count,fn);
- } else if(type=="history_message")fn([spl.word[4],+spl.word[5]/1000,spl.rest[6]]);
+ } else if(type=="history_message")fn([spl.word[4],+spl.word[5]/1000,spl.rest[7]]);
else alert("Unknown server response message type '"+type+"'!");
} else {
alert("No callback for server message id '"+id+"'!");