Set the site when requesting a promoted link.

This lets us do over18 thumbnail hiding correctly.
This commit is contained in:
Brian Simpson
2013-10-15 13:22:25 -07:00
parent cc3af6e8ff
commit dbadf7d9d0

View File

@@ -53,7 +53,10 @@ r.spotlight.requestPromo = function() {
return $.ajax({
type: "POST",
url: '/api/request_promo',
data: {'srnames': this.srnames}
data: {
'srnames': this.srnames,
'r': r.config.post_site
}
}).pipe(function(promo) {
if (promo) {
$item = $(promo)