Commit c7de01eb authored by Romain Courteaud's avatar Romain Courteaud

Prevent losing the timeout context while looping

parent 68dff54c
...@@ -170,9 +170,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -170,9 +170,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
+ status_id + \'" data-url="\' + encodeURIComponent(status_url) + \'"></a></li>\')\n + status_id + \'" data-url="\' + encodeURIComponent(status_url) + \'"></a></li>\')\n
.find(\'#\' + status_id);\n .find(\'#\' + status_id);\n
}\n }\n
setTimeout(function () {\n (function(new_context) {\n
update_status(status_context);\n setTimeout(function () {\n
});\n update_status(new_context);\n
});\n
})(status_context);\n
}\n }\n
},\n },\n
complete: function() {\n complete: function() {\n
......
451 452
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment