Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1692 from vogdb/issue-1692
Browse files Browse the repository at this point in the history
Mark not empty openx elements with css class.
  • Loading branch information
vogdb committed Mar 16, 2015
2 parents f2d7f7c + c93d637 commit 7d73942
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client-vendor/after-body/jquery.openx/jquery.openx.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7d73942

Please sign in to comment.