Closed benlk closed 7 years ago
In https://github.com/INN/DoubleClick-for-WordPress/blob/master/js/vendor/jquery.dfp.js/jquery.dfp.js#L319, if an ad loads successfully, then the display-none class is removed from the ad.
display-none
$adUnit.removeClass('display-none').addClass('display-' + display);
We don't provide any CSS for that class, and so ads are not getting hidden when they are not loaded.
This issue is probably a good time to tackle #9 as well.
For RNS-167
In https://github.com/INN/DoubleClick-for-WordPress/blob/master/js/vendor/jquery.dfp.js/jquery.dfp.js#L319, if an ad loads successfully, then the
display-none
class is removed from the ad.We don't provide any CSS for that class, and so ads are not getting hidden when they are not loaded.
This issue is probably a good time to tackle #9 as well.
For RNS-167