Bug 28868: Add back mastheadsearch class name
authorLucas Gass <lucas@bywatersolutions.com>
Mon, 16 Aug 2021 21:23:47 +0000 (21:23 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 18 Aug 2021 14:00:22 +0000 (10:00 -0400)
commitf603e999f59cf253f3cc950749b93f129cfd4a11
tree19217d69674f93877747cec24cb69ce5547b3297
parent847f1e8fc3d494f482d12b22afff43b601d189f4
Bug 28868: Add back mastheadsearch class name

In masthead.inc there is a wrapper for the main search bar called #opac-main-search. Prior to Bug 20168 that warpper had a class name of 'mastheadsearch'.

Historically CSS/JS customization of the main search bar was done via the mastheadsearch class.

Test plan:
1. Inscept the element on the OPAC main page and see the element with an ID of 'opac-main-search'.
2. Apply patch
3. Inscept that same element and you should now also see a class of 'mastheadsearch'.
4. Nothing visually should be different with the patch applied.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc