overleaf/services/web/public/coffee/ide/FeatureOnboardingController.coffee

16 lines
334 B
CoffeeScript
Raw Normal View History

2016-10-20 11:39:43 -04:00
define [
"base"
], (App) ->
App.controller "FeatureOnboardingController", ($scope, $modal, event_tracking) ->
$scope.innerStep = 1;
2016-10-20 11:39:43 -04:00
$scope.turnCodeCheckOn = () ->
navToInnerStep2()
2016-10-20 11:39:43 -04:00
$scope.turnCodeCheckOn = () ->
navToInnerStep2()
2016-10-20 11:39:43 -04:00
navToInnerStep2 = () ->
$scope.innerStep = 2
2016-10-20 11:39:43 -04:00
$scope.ui.leftMenuShown = true