From 7ede00a495aeb2320855d7daeff72f67a62aca10 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 9 Oct 2016 03:48:34 -0700 Subject: [PATCH] Fix bug from v1.13.0.0 that broke Quote Inlining / Previewing of OPs on /f/. --- src/classes/Post.Clone.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/Post.Clone.coffee b/src/classes/Post.Clone.coffee index b627ad81d..9eafe6422 100644 --- a/src/classes/Post.Clone.coffee +++ b/src/classes/Post.Clone.coffee @@ -48,7 +48,7 @@ Post.Clone = class extends Post @file.text = fileRoot.firstElementChild @file.link = $ '.fileText > a, .fileText-original', fileRoot @file.thumb = $ 'a.fileThumb > [data-md5]', fileRoot - @file.thumbLink = @file.thumb.parentNode + @file.thumbLink = @file.thumb?.parentNode @file.fullImage = $ '.full-image', fileRoot @file.videoControls = $ '.video-controls', @file.text