From 4b2484547d8d9bdbac74d04e78d5155063235ced Mon Sep 17 00:00:00 2001
From: Vladyslav Tymofeiev <“vladyslavty@softwareplanetgroup.com”>
Date: Tue, 27 Aug 2024 15:14:23 +0300
Subject: [PATCH 1/2] Move iframe-render script earlier to run it as fast as
possible
---
lms/templates/main.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lms/templates/main.html b/lms/templates/main.html
index 6719fe0..13c9ef3 100644
--- a/lms/templates/main.html
+++ b/lms/templates/main.html
@@ -48,6 +48,8 @@
%block>
+
+
% if not allow_iframing:
-
<%block name="js_overrides">
${render_require_js_path_overrides(settings.REQUIRE_JS_PATH_OVERRIDES) | n, decode.utf8}
%block>
From d3dfc04f01e7aac568cf7570cd6210369f5b2ce6 Mon Sep 17 00:00:00 2001
From: Vladyslav Tymofeiev <“vladyslavty@softwareplanetgroup.com”>
Date: Tue, 27 Aug 2024 15:20:19 +0300
Subject: [PATCH 2/2] Remove redundant async option from iframe-render
---
lms/templates/main.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lms/templates/main.html b/lms/templates/main.html
index 13c9ef3..00fb6f4 100644
--- a/lms/templates/main.html
+++ b/lms/templates/main.html
@@ -48,7 +48,7 @@
%block>
-
+
% if not allow_iframing: