Bug 28821: (QA follow-up) Adjust javascript test
The test did not work when SearchEngine == Elasticsearch. Test plan: Verify if it works now for Elasticsearch. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
2047cd98db
commit
95c46c0db5
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ $(document).ready(function() {
|
|||
|
||||
$(document).on("click", '.ButtonLess', function(e) {
|
||||
e.preventDefault();
|
||||
if($(this).parent().parent().siblings().length < 2 ) {
|
||||
if( $("a.ButtonLess").length <= 2 ) {
|
||||
$('.ButtonLess').hide();
|
||||
}
|
||||
$(this).parent().parent().remove();
|
||||
|
|
Loading…
Reference in a new issue