From 06442036ce2dfa5b6931b07454bd963818a7c6b9 Mon Sep 17 00:00:00 2001 From: Mushtaq Ali Date: Thu, 3 Dec 2015 18:49:44 +0500 Subject: [PATCH] Load requirejs before module-js --- lms/templates/main.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lms/templates/main.html b/lms/templates/main.html index 1e450583ec..cb04bb7f24 100644 --- a/lms/templates/main.html +++ b/lms/templates/main.html @@ -69,7 +69,6 @@ from branding import api as branding_api % else: <%static:js group='main_vendor'/> <%static:js group='application'/> - <%static:js group='module-js'/> % endif + % if not disable_courseware_js: + <%static:js group='module-js'/> + % endif + <%block name="headextra"/> <%