fixed duplicate on wall

This commit is contained in:
Dmitriy Zaporozhets 2011-11-06 23:32:37 +02:00
parent e29a25662d
commit 7ac38b7a1e

View file

@ -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: