-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.7, 4.0.8
-
MOODLE_37_STABLE, MOODLE_400_STABLE
-
MDL-65837-master
- Create a new glossary with autolinking enabled
- Add a new glossary entry
- Enable the Glossary filter
- Add some text to the course page to show the glossary link
- View the dev tools => Network tab, and reload the page
- Note: first.js loaded
- Note: event.js loaded
I'd hazard a guess that requirejs is loading first.js async in the background at the time that event.js is loaded, and as a result event.js is also fetched.
Ideally requirejs needs to only load -lazy items, but I don't think that's possible. We may have to change the requirejs loader to load first.js sync so that it blocks but that's not a great solution either.