From c93d637422d92a539bcae5e9cb4e7fb7852360d7 Mon Sep 17 00:00:00 2001 From: vogdb Date: Mon, 16 Mar 2015 13:37:14 +0300 Subject: [PATCH] Mark not empty openx elements with css class. --- client-vendor/after-body/jquery.openx/jquery.openx.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client-vendor/after-body/jquery.openx/jquery.openx.js b/client-vendor/after-body/jquery.openx/jquery.openx.js index 3ffd8f02f..e5b4a5346 100755 --- a/client-vendor/after-body/jquery.openx/jquery.openx.js +++ b/client-vendor/after-body/jquery.openx/jquery.openx.js @@ -77,6 +77,7 @@ $element.trigger('openx-loaded', {hasContent: hasContent}); if (hasContent) { + $element.addClass('openx-loaded'); trackEvent('Banner', 'Impression', 'zone-' + zoneId); var $link = $element.find('a[href]'); if ($element.is(':visible') && $link.length > 0) {