fix: fetch commons.js from the correct URL [SE-4785]
This mirrors a fix in [frontend-app-library-authoring](https://github.com/edx/frontend-app-library-authoring/pull/25/files#diff-4102b1726b612b7813106191ef87849273f5d89da904f5ab69fb1974a31987d5R307).
This commit is contained in:
committed by
Braden MacDonald
parent
2092933f72
commit
d7d6df5498
@@ -66,7 +66,7 @@
|
||||
files (defined in webpack.common.config.js) to get that entry point and all
|
||||
of its dependencies.
|
||||
-->
|
||||
<script type="text/javascript" src="{{ lms_root_url }}/static/xmodule_js/common_static/bundles/commons.js"></script>
|
||||
<script type="text/javascript" src="{{ lms_root_url }}/static/bundles/commons.js"></script>
|
||||
<!-- The video XBlock (and perhaps others?) expect this global: -->
|
||||
<script>
|
||||
window.onTouchBasedDevice = function() { return navigator.userAgent.match(/iPhone|iPod|iPad|Android/i); };
|
||||
|
||||
Reference in New Issue
Block a user