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: prepend:
function(id, html) { function(id, html) {
this.last_id = id; if(id != this.last_id) {
$("#notes-list").prepend(html); this.last_id = id;
$("#notes-list").prepend(html);
}
}, },
getNew: getNew: