From 849ed0fe8bedf127fab60b16d4b09e0f00e1122f Mon Sep 17 00:00:00 2001 From: jberg Date: Sun, 18 Aug 2019 10:34:34 -0700 Subject: [PATCH] Dont need to render certain MAKI nodes --- modern/src/App.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modern/src/App.js b/modern/src/App.js index fdde84ce2a..bed38565bc 100644 --- a/modern/src/App.js +++ b/modern/src/App.js @@ -357,7 +357,13 @@ const NODE_NO_EVENTS = new Set(["popupmenu"]); function XmlNode({ node }) { const attributes = node.attributes; const name = node.name; - if (name == null || name === "groupdef") { + if ( + name == null || + name === "groupdef" || + name === "elements" || + name === "gammaset" || + name === "scripts" + ) { // name is null is likely a comment return null; }