From de7116e57f88b0ce0bd51268b6c1b9b7bd037704 Mon Sep 17 00:00:00 2001 From: SPGoding Date: Mon, 30 Dec 2019 14:48:21 -0600 Subject: [PATCH] Revert "Fix #58" This reverts commit 64472846bb42d6c08e3e25f127e0c0abb22d1578. --- js/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/view.js b/js/view.js index e0f4241c..69f67f75 100644 --- a/js/view.js +++ b/js/view.js @@ -440,7 +440,7 @@ function generateObject(data, struct, options) { $body.append($field); } } - if (!struct.collapse) { + if (struct.card === false) { // Note: JSON.parse(JSON.stringify(out)) can remove undefined values in the out object. if (Object.keys(JSON.parse(JSON.stringify(out))).length === 0) { out = undefined