Revert change to gallery condition.
Thumbnails should not be excluded from the gallery unless they were already deleted when we loaded the page.
This commit is contained in:
parent
928955021f
commit
1aba932f8b
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user