mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Dismiss autocompile onboarding
This commit is contained in:
parent
9386ddf4a9
commit
3259b871c0
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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'
|
Loading…
Reference in a new issue