fixed problem with removing posts

This commit is contained in:
jeena 2013-04-10 10:54:38 +02:00
parent 19c1bb2f1d
commit b98ec458fc

View file

@ -901,7 +901,7 @@ function(jQuery, Paths, URI, HostApp, Cache) {
}
Core.prototype.postDeleted = function(post_id, entity) {
var li = document.getElementById("post-" + post_id);
var li = document.getElementById("post-" + post_id + "-" + this.action);
if (li) {
if (li.parentNode == this.body) {
this.body.removeChild(li);