fixed problem with removing posts
This commit is contained in:
parent
19c1bb2f1d
commit
b98ec458fc
1 changed files with 1 additions and 1 deletions
|
@ -901,7 +901,7 @@ function(jQuery, Paths, URI, HostApp, Cache) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Core.prototype.postDeleted = function(post_id, entity) {
|
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) {
|
||||||
if (li.parentNode == this.body) {
|
if (li.parentNode == this.body) {
|
||||||
this.body.removeChild(li);
|
this.body.removeChild(li);
|
||||||
|
|
Reference in a new issue