]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 18 Aug 2021 18:55:12 +0000 (08:55 -1000)
commit2efaf2f2935c293a348f4dbf6a1da72125ee2cca
tree0d6ad5d731419eda0f7cf045e2a72bcad2d8b9dd
parentc852e0474edbcdffa5e25a488fed09013a1c5631
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>
(cherry picked from commit f603e999f59cf253f3cc950749b93f129cfd4a11)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc