From 04977c9cadab54e097656420578f3a931dbcc790 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sat, 30 Mar 2013 03:08:35 +0100 Subject: [PATCH] Show delete links in the menu even if we don't know if it's your post or not. #968 @DumpAnon --- CHANGELOG.md | 1 - src/features.coffee | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b03098c4..58d73b94c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,6 @@ Extension-related changes for Chrome and Opera: Egocentrism: - `(You)` will be added to quotes linking to your posts. - The Unread tab icon will indicate new unread posts quoting you with an exclamation mark. - - Delete links in the post menu will only appear for your posts. Quick Reply changes: - Opening text files will insert their content in the comment field. diff --git a/src/features.coffee b/src/features.coffee index 529f134ca..5f32af041 100644 --- a/src/features.coffee +++ b/src/features.coffee @@ -1546,7 +1546,7 @@ DeleteLink = el: div order: 40 open: (post) -> - return false if post.isDead or !((thread = QR.yourPosts.threads[post.thread]) and post.ID in thread) + return false if post.isDead DeleteLink.post = post DeleteLink.cooldown.start post node = div.firstChild