Dismiss autocompile onboarding

This commit is contained in:
Alasdair Smith 2017-09-27 17:20:06 +01:00
parent 9386ddf4a9
commit 3259b871c0
2 changed files with 4 additions and 4 deletions

View file

@ -107,4 +107,5 @@ div.full-size(
p Try out the new auto compile setting!
img(src="/img/onboarding/autocompile/setting-dropdown.png" width="100%")
p When enabled, your project will be compiled after you finish your sentence.
button.btn.btn-default.btn-block Got it
button.btn.btn-default.btn-block(ng-click="dismiss()")
| Got it

View file

@ -2,6 +2,5 @@ define [
"base"
], (App) ->
App.controller "AutoCompileOnboardingController", ($scope) ->
unsub = $scope.$on "pdf.recompile", () ->
console.log('recompiling')
unsub()
$scope.dismiss = () ->
$scope.onboarding.autoCompile = 'dismissed'