]> git.koha-community.org Git - koha.git/commit
Bug 28868: Add back mastheadsearch class name
authorLucas Gass <lucas@bywatersolutions.com>
Mon, 16 Aug 2021 21:23:47 +0000 (21:23 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 18 Aug 2021 13:09:22 +0000 (15:09 +0200)
commitb61e849b718ab57cf70aacbe0aae48db21616f3d
tree07ee4a56db5588ab05d98ddad10ccda77aa7caba
parent37e11da07bf761e8aa01e348f0584aa78438f479
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>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc