Bug 41987: Remove duplicate searchresult-breeding id
The searchresult-breeding id was present on both the wrapper div and the "no results" alert element, causing duplicate id usage in the DOM. This patch ensures the id is only used once on the parent container and keeps the anchor link functional. Signed-off-by: Artur Mickiewicz <davno_pora@mail.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
1683524683
commit
237ecdc4bc
|
|
@ -297,7 +297,7 @@
|
|||
</div>
|
||||
<!-- /.page-section -->
|
||||
[% ELSE %]
|
||||
<div class="alert alert-info" id="searchresult-breeding"> [% tx("No reservoir search results for '{query}'", {query = query}) | html %] </div>
|
||||
<div class="alert alert-info"> [% tx("No reservoir search results for '{query}'", {query = query}) | html %] </div>
|
||||
[% END # /IF breeding_loop %]
|
||||
</div>
|
||||
<!-- /#searchresult-breeding -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue