MediaWiki:DonationForm T201415.js: Difference between revisions
Content deleted Content added
use boolean for param.recurring |
only include referrer param if needed |
||
Line 746:
params.utm_key = donationForm.buildUtmKey( donationForm.extraData );
// Strip protocol to stop firewall complaining▼
// TODO: do we need this?
▲ // Strip protocol to stop firewall complaining
params.referrer = document.referrer.replace(/https?:\/\//i, '');
}
uri.extend( params );
|