mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Dismiss autocompile onboarding
This commit is contained in:
@@ -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'
|
||||
Reference in New Issue
Block a user