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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-5 / +4 lines)
Lines 598-606 Link Here
598
598
599
                $(coverSlide).find(".cover-image").eq(0).show();
599
                $(coverSlide).find(".cover-image").eq(0).show();
600
600
601
                // if( $(coverSlide).find(".cover-image").length < 1 ){
601
                if( $(coverSlide).find(".cover-image").length < 1 ){
602
                //     $(coverSlide).remove();
602
                    $(coverSlide).remove();
603
                // } else {
603
                } else {
604
                    // This is a suboptimal workaround; we should do this via load, but
604
                    // This is a suboptimal workaround; we should do this via load, but
605
                    // the image code is scattered all over now. We come here now after
605
                    // the image code is scattered all over now. We come here now after
606
                    // window load and wait_for_images (so load completed).
606
                    // window load and wait_for_images (so load completed).
Lines 609-615 Link Here
609
                        if( !this.complete || this.naturalHeight == 0 ) check_complete = 0;
609
                        if( !this.complete || this.naturalHeight == 0 ) check_complete = 0;
610
                    });
610
                    });
611
                    if( check_complete ) $(coverSlide).removeClass('cover-slides');
611
                    if( check_complete ) $(coverSlide).removeClass('cover-slides');
612
                // }
612
                }
613
            });
613
            });
614
614
615
            $(".cover-slider").on("click",".cover-nav", function(e){
615
            $(".cover-slider").on("click",".cover-nav", function(e){
616
- 

Return to bug 38981