提交 7ac38b7a 编写于 作者: D Dmitriy Zaporozhets

fixed duplicate on wall

上级 e29a2566
......@@ -42,8 +42,10 @@ replace:
prepend:
function(id, html) {
this.last_id = id;
$("#notes-list").prepend(html);
if(id != this.last_id) {
this.last_id = id;
$("#notes-list").prepend(html);
}
},
getNew:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册