-
Improvement
-
Resolution: Fixed
-
Minor
-
5.0
-
MOODLE_500_STABLE
-
MOODLE_500_STABLE
-
MDL-84324-main -
-
-
-
3
-
HQ 2025 Sprint I1.1 Moppies
Bootstrap 5 doesn't need jQuery anymore, but it is possible to add it for backward compatibility
https://getbootstrap.com/docs/5.3/getting-started/javascript/#optionally-using-jquery
You don't need jQuery in Bootstrap 5, but it's still possible to use our components with jQuery. If Bootstrap detects jQuery in the window object, it'll add all of our components in jQuery's plugin system.
To remove this compatibility in the future, this patch can be reverted, or just add "data-bs-no-jquery" data attribute to the body so Bootstrap will prevent using jQuery. Source: https://getbootstrap.com/docs/5.3/getting-started/javascript/#jquery-events