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

Commit

Permalink
Set data attributes on stubs.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsimpson63 committed Mar 7, 2013
1 parent 51ef005 commit bc8b254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions r2/r2/public/static/js/spotlight.js
Expand Up @@ -71,8 +71,8 @@ r.spotlight.createStub = function(fullname, campaign) {
var stub = $('<div>')
.addClass('thing stub')
.addClass('id-'+fullname)
.data('fullname', fullname)
.data('cid', campaign)
.attr('data-fullname', fullname)
.attr('data-cid', campaign)
.prependTo('.organic-listing')
}

Expand Down

0 comments on commit bc8b254

Please sign in to comment.