mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 23:39:11 -05:00
Timeout for r.spotlight.requestPromo.
This commit is contained in:
@@ -53,6 +53,10 @@ r.spotlight.requestPromo = function() {
|
||||
return $.ajax({
|
||||
type: "POST",
|
||||
url: '/api/request_promo',
|
||||
timeout: 500,
|
||||
error: function() {
|
||||
$('.organic-listing').hide()
|
||||
},
|
||||
data: {
|
||||
'srnames': this.srnames,
|
||||
'r': r.config.post_site
|
||||
|
||||
Reference in New Issue
Block a user