mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-05 20:25:02 -05:00
Set data attributes on stubs.
This commit is contained in:
@@ -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')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user