mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 00:38:11 -05:00
Make a stub for each campaign.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user