From 21f0dbfd46a94dc372041eb58c99830bb50008e4 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 31 Mar 2019 21:17:19 -0700 Subject: [PATCH] Copy over any temporary JSON properties in Build.parseJSON. --- src/General/Build.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/General/Build.coffee b/src/General/Build.coffee index fe32d02a3..9eca7e15e 100644 --- a/src/General/Build.coffee +++ b/src/General/Build.coffee @@ -79,6 +79,9 @@ Build = tag: data.tag hasDownscale: !!data.m_img o.file.dimensions = "#{o.file.width}x#{o.file.height}" unless /\.pdf$/.test o.file.url + # Temporary JSON properties for events such as April 1 / Halloween + for key of data when key[0] is 'x' + o[key] = data[key] o parseComment: (html) ->