[Fix] hot fix for a breaks tooting bug
This commit is contained in:
parent
7eabc0976b
commit
6be0d7e1cf
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ WorkerScript.onMessage = function(msg) {
|
||||||
|
|
||||||
// this is not elegant. it's max_id and ids from MyList
|
// this is not elegant. it's max_id and ids from MyList
|
||||||
// we should always get max_id on append
|
// we should always get max_id on append
|
||||||
if (msg.mode === "append") {
|
if (msg.mode === "append" && msg.params[0]) {
|
||||||
if ( msg.params[0]["name"] === "max_id" ) {
|
if ( msg.params[0]["name"] === "max_id" ) {
|
||||||
max_id = msg.params[0]["data"]
|
max_id = msg.params[0]["data"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue