Bug 40614: Invalid markup in cookie consent modal

This patch corrects a minor markup error in the OPAC's cookie consent
modal, removing a "type" attribute from an <a> tag.

To test apply the patch and make sure you have the CookieConsent system
preference enabled.

- Go to the OPAC. You should see a cookie consent banner across the
  bottom of the page.
- Click "More information."
- Click "Cancel" in the modal window. The modal should close.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Noah Tremblay <noah.tremblay@inlibro.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 86d79a48d3)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Owen Leonard 2025-08-07 16:22:41 +00:00 committed by Paul Derscheid
parent 5da371a3d7
commit 7d8b9337c0
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@
<button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button>
<button type="button" class="btn btn-warning" id="consentAcceptSelected">Accept selected non-essential cookies</button>
[% END %]
<a type="button" href="#" class="btn btn-secondary consentCloseModal">Cancel</a>
<a href="#" class="btn btn-secondary consentCloseModal">Cancel</a>
</div>
</div>
</div>