From 5bc062eff2ab57b953ecb509c099c37e7eaa39cc Mon Sep 17 00:00:00 2001 From: Johannes Kimmel Date: Sat, 22 Apr 2023 10:36:39 +0200 Subject: [PATCH] fix extra empty lines --- l3config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l3config.js b/l3config.js index 48ed7f8..f642d5a 100644 --- a/l3config.js +++ b/l3config.js @@ -262,7 +262,7 @@ function initForm() { })); form.replaceChildren(...l3cfg.node()) - renderConfig(l3cfg.sections.map(section => section.render()).filter(section => !!section)); + renderConfig(l3cfg.sections.flatMap(section => section.render()).filter(section => !!section)); } function renderConfigOption(name, value) {