Permalink
Browse files

Set data attributes on stubs.

  • Loading branch information...
1 parent 51ef005 commit bc8b254c04f6229109f5b72f7d89f1dc519325a9 @bsimpson63 bsimpson63 committed Feb 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 r2/r2/public/static/js/spotlight.js
View
4 r2/r2/public/static/js/spotlight.js
@@ -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')
}

0 comments on commit bc8b254

Please sign in to comment.