[Koha-bugs] [Bug 32642] Loading spinner always visible when cover image is short (OPAC)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 7 01:36:41 CEST 2023


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

--- Comment #17 from Hammat wele <hammat.wele at inlibro.com> ---
> What I wonder, is: will there always be enough time to locally complete the
> downloading of the image before you remove the spinner?
> Now you add the spinner by adding the class. And directly you check if there
> is one visible image and you remove the spinner. (You could btw remove the
> class again instead of the css change.)

Hi Marcel,

For the images with a src attribut already set in the html code ( images like
localcover, CmazonCoverImages ...), they will have time to locally complete the
downloading because of the `$(window).load` it will wait for all images to be
load. But for the others they may not have enough time.

I think it's better to just remove spinner by removing the "background-image",
the class 'cover-slides' is used in opac.css file .cover-slides
a.nav-active:visited {color: #85CA11;}, ( specially when we have severals
images for the same notice).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list