View | Details | Raw Unified | Return to bug 28821
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt (-2 / +1 lines)
Lines 544-550 $(document).ready(function() { Link Here
544
544
545
    $(document).on("click", '.ButtonLess', function(e) {
545
    $(document).on("click", '.ButtonLess', function(e) {
546
        e.preventDefault();
546
        e.preventDefault();
547
        if($(this).parent().parent().siblings().length < 2 ) {
547
        if( $("a.ButtonLess").length <= 2 ) {
548
           $('.ButtonLess').hide();
548
           $('.ButtonLess').hide();
549
        }
549
        }
550
        $(this).parent().parent().remove();
550
        $(this).parent().parent().remove();
551
- 

Return to bug 28821