Resetting img src using img onerror event does not work when paged.js present
My application pulls images from S3, which in some cases are missing. A common workaround for this issue is to use the onerror event of the img object to replace the url to a default image, so at least the end user does not see the broken link. However, when I include paged.js in my html, replacing the url of the image when onerror triggers does not work; the img shows as broken links. Is there a way to prevent this behavior?