Problem/Motivation
This un-attributed commit https://git.drupalcode.org/project/modal_page/-/commit/01a90c0abc4eda1ac... capitalizes boolean and null values in the JavaScript files. While that's confirming to standards for PHP files, in JavaScript it makes the values appear to be undefined variables instead of boolean or null values.

Steps to reproduce
Load any page that links to a modal where the site is running modal_page 5.1.11
Proposed resolution
Revert the offending commit, release an updated version of the 5.1.x. Maybe improve testing to identify this issue and check the functionality of the JS.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot 2026-04-20 at 1.59.48 PM.png | 295.79 KB | dhansen |
Issue fork modal_page-3585849
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
renatog commentedNice catch @dhansen
Thank you so much for that
Comment #5
renatog commentedcommitted in the dev branch
I'll generate a new release as soon as possible
Really appreciated your contribution
Comment #7
renatog commentedReleased the new version with this fix
https://www.drupal.org/project/modal_page/releases/5.1.12
Added a public thanks for @dhansen in the release notes
Appreciated
Comment #8
renatog commented