Closed dannydb closed 7 years ago
Safari executes the else statement in this block of the resizer script for a clickable link promo because the parent node is an anchor tag with the default display of inline and width reports as 0:
if (+minwidth <= width && (+maxwidth >= width || maxwidth === null)) { var img = el.querySelector('.g-aiImg'); if (img.getAttribute('data-src') && img.getAttribute('src') != img.getAttribute('data-src')) { img.setAttribute('src', img.getAttribute('data-src')); } el.style.display = "block"; } else { el.style.display = "none"; }
Explicitly setting display: block for .g-ai2htmlLink fixes the issue.
display: block
.g-ai2htmlLink
Safari executes the else statement in this block of the resizer script for a clickable link promo because the parent node is an anchor tag with the default display of inline and width reports as 0:
Explicitly setting
display: block
for.g-ai2htmlLink
fixes the issue.