Permalink
Browse files

Make a stub for each campaign.

  • Loading branch information...
1 parent bc8b254 commit 820cf02fd2831d12efeddaf15d9646f387a4d04d @bsimpson63 bsimpson63 committed Mar 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 r2/r2/public/static/js/spotlight.js
View
2 r2/r2/public/static/js/spotlight.js
@@ -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)

0 comments on commit 820cf02

Please sign in to comment.