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

fixed duplicate on wall

parent e29a2566
...@@ -42,8 +42,10 @@ replace: ...@@ -42,8 +42,10 @@ replace:
prepend: prepend:
function(id, html) { function(id, html) {
if(id != this.last_id) {
this.last_id = id; this.last_id = id;
$("#notes-list").prepend(html); $("#notes-list").prepend(html);
}
}, },
getNew: 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