https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38981

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Jonathan Druart <[email protected]> ---
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt

555                 // if( $(coverSlide).find(".cover-image").length < 1 ){
556                 //     $(coverSlide).remove();
557                 // } else {
558                     // This is a suboptimal workaround; we should do this
via load, but
559                     // the image code is scattered all over now. We come
here now after
560                     // window load and wait_for_images (so load completed).
561                     var check_complete = 1;
562                     $(coverSlide).find("img").each( function() {
563                         if( !this.complete || this.naturalHeight == 0 )
check_complete = 0;
564                     });
565                     if( check_complete )
$(coverSlide).removeClass('cover-slides');
566                 // }

Why are those lines commented?

It works (at first glance) if I bring them back.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to