Make a stub for each campaign.

This commit is contained in:
bsimpson63
2013-03-01 14:16:47 -05:00
parent bc8b254c04
commit 820cf02fd2

View File

@@ -10,7 +10,7 @@ r.spotlight.init = function() {
$('.organic-listing .arrow.next').on('click', $.proxy(this, 'next'))
_.each(this.link_by_camp, function(fullname, campaign) {
if (!listing.find('.id-' + fullname).length) {
if (!listing.find('[data-cid="' + campaign + '"]').length) {
this.createStub(fullname, campaign)
}
}, this)