Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Make a stub for each campaign.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsimpson63 committed Mar 7, 2013
1 parent bc8b254 commit 820cf02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r2/r2/public/static/js/spotlight.js
Expand Up @@ -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)
Expand Down

0 comments on commit 820cf02

Please sign in to comment.