mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
don't show coupon area for upgrades
This commit is contained in:
parent
471b285ad7
commit
ef3613371f
1 changed files with 1 additions and 1 deletions
|
@ -12,6 +12,6 @@ define [
|
||||||
ga?('send', 'event', 'subscription-funnel', 'upgraded-free-trial', source)
|
ga?('send', 'event', 'subscription-funnel', 'upgraded-free-trial', source)
|
||||||
url = "/user/subscription/new?planCode=#{planName}_free_trial_7_days&ssp=#{planName == 'collaborator'}"
|
url = "/user/subscription/new?planCode=#{planName}_free_trial_7_days&ssp=#{planName == 'collaborator'}"
|
||||||
if couponCode?
|
if couponCode?
|
||||||
url = "#{url}&cc=#{couponCode}&scf=true"
|
url = "#{url}&cc=#{couponCode}"
|
||||||
window.open(url)
|
window.open(url)
|
||||||
$scope.startedFreeTrial = true
|
$scope.startedFreeTrial = true
|
Loading…
Reference in a new issue