From 767597c3c81ebad00643c592930e13c87bc75ce6 Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Thu, 28 Mar 2013 14:08:36 -0700 Subject: [PATCH] Fix adblock pixel frame selector. --- r2/r2/templates/ads.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/templates/ads.html b/r2/r2/templates/ads.html index 26d33b49a..16a5cef03 100644 --- a/r2/r2/templates/ads.html +++ b/r2/r2/templates/ads.html @@ -35,7 +35,7 @@ tracker_url = tracking.get_impression_pixel_url("adblock") %> $(function() { - var ad = $("#ad-frame"); + var ad = $("#${thing.frame_id}"); if(!ad.length || ad.height() == 0 || ad.width() == 0 || ad.offset().left == 0) { $(".footer").append("");