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 f603e999f5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
c852e0474e
commit
2efaf2f293
|
|
@ -155,7 +155,7 @@
|
|||
[% UNLESS ( advsearch ) %]
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div id="opac-main-search">
|
||||
<div id="opac-main-search" class="mastheadsearch">
|
||||
[% IF ( OpacCustomSearch ) %]
|
||||
[% PROCESS koha_news_block news => OpacCustomSearch %]
|
||||
[% ELSE %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue