Commit 7ac38b7a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fixed duplicate on wall

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment