From 865fe0171a1772b35b8dd323c50080a8bb58c98f Mon Sep 17 00:00:00 2001 From: Peter Kulko Date: Tue, 12 Nov 2024 16:15:11 +0200 Subject: [PATCH] fix: fixed issue with iframe loading in authoring mfe --- cms/static/js/views/pages/container_subviews.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/static/js/views/pages/container_subviews.js b/cms/static/js/views/pages/container_subviews.js index b32c86ae8dec..c6872290ceb1 100644 --- a/cms/static/js/views/pages/container_subviews.js +++ b/cms/static/js/views/pages/container_subviews.js @@ -523,7 +523,7 @@ function($, _, gettext, BaseView, ViewUtils, XBlockViewUtils, MoveXBlockUtils, H tagValueElement.className = 'tagging-label-value'; tagContentElement.appendChild(tagValueElement); - parentElement.appendChild(tagContentElement); + parentElement?.appendChild(tagContentElement); if (tag.children.length > 0) { var tagIconElement = document.createElement('span'),