Explicitly set JQuery globals on main site
I guess this is related to the jquery update from
or maybe this line wasn't working and we were relying
in something else?
Not sure why I didn't notice this before,
maybe my browser cache :(
Ref
<script src="{% static 'vendor/jquery-migrate.js' %}"></script>
<script src="{% static 'vendor/jquery-ui.js' %}"></script>
<script >
- require('jquery');
+ // Set jQuery to its expected globals.
+ window.$ = require('jquery');
+ window.jQuery = window.$;
</script>
<script src="{% static 'javascript/base.js' %}"></script>
