mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Move convert to top
This commit is contained in:
parent
8c1d110688
commit
c1ebc65a3b
1 changed files with 3 additions and 5 deletions
|
@ -333,13 +333,11 @@ define [
|
|||
$scope.currencyCode = newCurrency
|
||||
|
||||
$scope.signUpNowClicked = (plan, annual)->
|
||||
if $scope.ui.view == "annual"
|
||||
plan = "#{plan}_annual"
|
||||
|
||||
event_tracking.send 'subscription-funnel', 'sign_up_now_button', plan
|
||||
# TODO: double check this is correct
|
||||
if $scope.shouldABTestPlans and plan in ['student', 'collaborator']
|
||||
sixpack.convert 'plans-1610', () ->
|
||||
if $scope.ui.view == "annual"
|
||||
plan = "#{plan}_annual"
|
||||
event_tracking.send 'subscription-funnel', 'sign_up_now_button', plan
|
||||
|
||||
$scope.switchToMonthly = ->
|
||||
$scope.ui.view = "monthly"
|
||||
|
|
Loading…
Reference in a new issue