From 8f2619d2f1439b4120c4c73940f42f83ec6ca297 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Fri, 15 Mar 2013 15:53:50 -0700 Subject: [PATCH] Forgot a "not" --- 4chan_x.user.js | 2 +- src/features.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 9971dc82a..e41c46b49 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -5804,7 +5804,7 @@ } else if (!index.contains(ID)) { post.kill(); deletedPosts.push(post); - } else if (post.file && !post.file.isDead && files.contains(ID)) { + } else if (post.file && !post.file.isDead && !files.contains(ID)) { post.kill(true); deletedFiles.push(post); } diff --git a/src/features.coffee b/src/features.coffee index 5b5f9e5b3..5a10a3de0 100644 --- a/src/features.coffee +++ b/src/features.coffee @@ -3954,7 +3954,7 @@ ThreadUpdater = else unless index.contains ID post.kill() deletedPosts.push post - else if post.file and !post.file.isDead and files.contains ID + else if post.file and !post.file.isDead and not files.contains ID post.kill true deletedFiles.push post