From df3210fd17ddc2e5ffe1c88ad6c66fc916df80fb Mon Sep 17 00:00:00 2001 From: lehtint6 <teemu.t.lehtinen@aalto.fi> Date: Tue, 18 Feb 2020 08:47:58 +0200 Subject: [PATCH] Force flag values to exist for templates --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b5b7739..4cdcb43 100644 --- a/index.js +++ b/index.js @@ -30,7 +30,7 @@ Package.initialize = function (req, params, handlers, cb) { let config = content[params.name]; if (config) { config.mutationObserver = true; - config.resetButton = true; + config.resetButton = config.resetButton !== undefined ? config.resetButton : true; } cb(config); }; -- GitLab