From 1aba932f8b2e8fc598889ada301c475569f8e610 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 6 Feb 2015 10:03:25 -0800 Subject: [PATCH] Revert change to gallery condition. Thumbnails should not be excluded from the gallery unless they were already deleted when we loaded the page. --- src/Images/Gallery.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Images/Gallery.coffee b/src/Images/Gallery.coffee index 442e1f30e..8fa22b886 100644 --- a/src/Images/Gallery.coffee +++ b/src/Images/Gallery.coffee @@ -79,9 +79,8 @@ Gallery = $.on d, 'keydown', cb.keybinds $.off d, 'keydown', Keybinds.keydown if Conf['Keybinds'] - for file in $$ '.post .file' + for file in $$ '.post .file' when !$ '.fileDeletedRes, .fileDeleted', file post = Get.postFromNode file - continue if !post.file or post.file.isDead Gallery.generateThumb post # If no image to open is given, pick image we have scrolled to. if !image and Gallery.fullIDs[post.fullID]