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: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
946ce25c52
commit
a202ff3d33
|
|
@ -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