Skip to content
This repository
Browse code

Set data attributes on stubs.

  • Loading branch information...
commit bc8b254c04f6229109f5b72f7d89f1dc519325a9 1 parent 51ef005
Brian Simpson bsimpson63 authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 r2/r2/public/static/js/spotlight.js
4 r2/r2/public/static/js/spotlight.js
@@ -71,8 +71,8 @@ r.spotlight.createStub = function(fullname, campaign) {
71 71 var stub = $('<div>')
72 72 .addClass('thing stub')
73 73 .addClass('id-'+fullname)
74   - .data('fullname', fullname)
75   - .data('cid', campaign)
  74 + .attr('data-fullname', fullname)
  75 + .attr('data-cid', campaign)
76 76 .prependTo('.organic-listing')
77 77 }
78 78

0 comments on commit bc8b254

Please sign in to comment.
Something went wrong with that request. Please try again.