From 7744404dc2ec450bafee621f598d51f6c968bf02 Mon Sep 17 00:00:00 2001 From: jberg Date: Sun, 18 Aug 2019 13:00:23 -0700 Subject: [PATCH] Dont need to render certain MAKI nodes (#864) --- 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 2bc44658..6e1e2058 100644 --- a/modern/src/App.js +++ b/modern/src/App.js @@ -454,7 +454,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; }