mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Ensure user is in beta program
This commit is contained in:
parent
fc4a260d95
commit
64f70942d0
1 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@ define [
|
|||
"services/log-hints-feedback"
|
||||
], (App, Ace, HumanReadableLogs, BibLogParser) ->
|
||||
App.controller "PdfController", ($scope, $http, ide, $modal, synctex, event_tracking, logHintsFeedback, localStorage) ->
|
||||
|
||||
# enable per-user containers by default
|
||||
perUserCompile = true
|
||||
autoCompile = true
|
||||
|
@ -76,7 +75,7 @@ define [
|
|||
ide.$scope.$on "ide:opAcknowledged", _.debounce(() ->
|
||||
if (!ide.$scope.hasLintingError)
|
||||
$scope.recompile()
|
||||
, 3000)
|
||||
, 3000) if window.user?.betaProgram
|
||||
|
||||
# abort compile if syntax checks fail
|
||||
$scope.stop_on_validation_error = localStorage("stop_on_validation_error:#{$scope.project_id}")
|
||||
|
|
Loading…
Reference in a new issue