From 171d87619d47ae5179f26b7c6f039c9904e7e07c Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Wed, 5 Jul 2017 22:34:20 +0200 Subject: webclient: Update for id in history --- webclient/client.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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+"'!"); -- cgit v1.2.3