This commit is contained in:
Jeena Paradies 2013-02-03 22:01:54 +01:00
parent 3fee55ea1a
commit 085f2840a8

View file

@ -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();
}