diff --git a/lms/templates/main.html b/lms/templates/main.html index 4af999ae83..04d412383b 100644 --- a/lms/templates/main.html +++ b/lms/templates/main.html @@ -79,7 +79,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"/> <%static:optional_include_mako file="head-extra.html" with_microsite="True" />