You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@asadiqbal08 It's still a valid bug. It was last seen today in production. I don't think we need to worry about reproducing it locally, though you can probably do that by clearing your browser cache and changing your network speed in the developer console. We should just apply some best-practice method for waiting for jQuery to load before executing any code that depends on it. Here's one blog post about that: https://idiallo.com/javascript/async-jquery. There might be a better solution out there but that's a start
Steps to Reproduce
Not sure. Maybe slow down network connection in console
Expected Behavior
Javascript loads in Django-template-rendered pages
Actual Behavior
Certain scripts are occasionally executed before jQuery loads and
$
is definedRelated Issues
Sentry: https://sentry.io/organizations/mit-office-of-digital-learning/issues/1085982154/events/4f28451f15ed4511864212b98b082a6e/?project=1413655
The text was updated successfully, but these errors were encountered: