fixed #134
This commit is contained in:
parent
3fee55ea1a
commit
085f2840a8
1 changed files with 11 additions and 1 deletions
|
@ -352,7 +352,17 @@ function(jQuery, Paths, URI, HostApp, Cache) {
|
|||
var _this = this;
|
||||
remove.get(0).onclick = function(e) {
|
||||
var callback = function() {
|
||||
remove.hide();
|
||||
|
||||
if(post.status.entity == HostApp.stringForKey("entity")) {
|
||||
remove.get(0).onclick = function(e) {
|
||||
_this.remove(post.status.id);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
remove.hide();
|
||||
}
|
||||
|
||||
|
||||
$(post).find(".repost").show();
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue