You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We discovered that RetinaJS wasn't working for us on our production server. Eventually, we discovered it was because our site uses SSL for all pages and we use CloudFront, also over SSL, for our asset host.
I was surprised to find that check_2x_variant was called even though, since we have data-at2x attribute, this.perform_check is set to false. I believe that this else if statement should be before the check for is_external() in order to avoid this issue. If the markup specifies the data-at2x, RetinaJS should short circuit IMHO to simply use the value specified and not do any other checking whatsoever.
The text was updated successfully, but these errors were encountered:
We discovered that RetinaJS wasn't working for us on our production server. Eventually, we discovered it was because our site uses SSL for all pages and we use CloudFront, also over SSL, for our asset host.
I was surprised to find that
check_2x_variant
was called even though, since we have data-at2x attribute,this.perform_check
is set to false. I believe that thiselse if
statement should be before the check foris_external()
in order to avoid this issue. If the markup specifies the data-at2x, RetinaJS should short circuit IMHO to simply use the value specified and not do any other checking whatsoever.The text was updated successfully, but these errors were encountered: