fix: error on course outline in Studio due to browser caching old JS file (#33015)

This fixes a bug where some users would see an error that prevented the course outline page in Studio from loading, for any course.
This commit is contained in:
Braden MacDonald
2023-08-15 11:42:47 -07:00
committed by GitHub
parent b9134c64ff
commit b8713faf76

View File

@@ -169,7 +169,7 @@ if (is_proctored_exam) {
</a>
</li>
<% } %>
<% if (enableCopyPasteUnits) { %>
<% if (typeof enableCopyPasteUnits !== "undefined" && enableCopyPasteUnits) { %>
<!--
If the ENABLE_COPY_PASTE_UNITS feature flag is enabled, all these actions (besides "Publish")
appear in a menu. We use .nav-dd on the parent element and .nav-item on this button to get the