Skip to content
Snippets Groups Projects

"Rework normalisation logic to handle new seal templates"

3 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -58,7 +58,7 @@ const removeSeal = (rootNode, sealContainerId) => {
@@ -58,7 +58,7 @@ const removeSeal = (rootNode, sealContainerId) => {
while (queue.length) {
while (queue.length) {
const element = queue.shift();
const element = queue.shift();
const id = element.getAttribute("id");
const id = element.getAttribute("id");
if (id?.includes(sealContainerId)) {
if (id === null || id === void 0 ? void 0 : id.includes(sealContainerId)) {
element.parentNode.removeChild(element);
element.parentNode.removeChild(element);
break;
break;
}
}
Loading