Drupal is a registered trademark of Dries Buytaert

jquery_downgrade

949 sites Security covered
View on drupal.org

We created this module to help soften the landing of Drupal 11 which brings us jQuery 4

JQuery Downgrade - released February 11th 2025

  • jQuery downgrade, aiming to keep the use of this module to the bare minimum by offering configurable ways to downgrade.
  • Created because we live in an imperfect world and have to be pragmatic.
  • The jquery_downgrade module gives us flexibility to "downgrade" for a specific node (nid) or set of nodes (one per line) or view pages and can optionally be downgraded globally on a per theme bases.
  • Additional configuration options are foreseen and patches to improve this module are welcome.

This module is to bridge the compatibility gap between certain themes that may have some difficulty supporting a specific widget. We found that the media browser would not load properly when displayed on a Bootstrap 3 based theme in Drupal 11 and we had a small edge case to deal with so we wanted a configurable module that would allow us to quickly handle edge cases and restore jQuery 3 on specific pages that involve these edge cases. This module allows chosing a wide scope or a specific node page or a view page. Other configuration options will be made available upon request.

Features

Restore jQuery 3 on a narrow scope for a specific specific node id or node ids (one per line) or view pages (checkbox selection(s)) or by theme selection for a wider scope. Other configuration options can and will be made available upon request.

Post-Installation

Install the module then visit the /admin/config/development/jquery-downgrade configuration page to configure which node ids or which views or if you widen the scope choose a specific theme to revert to jQuery 3 (downgrade). The result is the page configured will be rendered with jQuery 3 instead of jQuery 4. This overrides the core jQuery and reverts to jQuery 3. At time of writing this is the only jQuery versions that we're concerned with but may expand options in the future as needed.

Additional Requirements

No additional requirements.

Similar projects

jquery_update

Community Documentation

Link to README.md

Activity

Total releases
5
First release
Feb 2025
Latest release
4 months ago
Release cadence
60 days
Stability
80% stable

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Oct 9, 2025
1.0.2 Stable Jul 15, 2025
1.0.1 Stable Feb 12, 2025
1.0.0 Stable Feb 11, 2025
1.0.x-dev Dev Feb 11, 2025