[Fix] hot fix for a breaks tooting bug.
This commit is contained in:
parent
fd9303de4d
commit
123a3b617c
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