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"
|
"services/log-hints-feedback"
|
||||||
], (App, Ace, HumanReadableLogs, BibLogParser) ->
|
], (App, Ace, HumanReadableLogs, BibLogParser) ->
|
||||||
App.controller "PdfController", ($scope, $http, ide, $modal, synctex, event_tracking, logHintsFeedback, localStorage) ->
|
App.controller "PdfController", ($scope, $http, ide, $modal, synctex, event_tracking, logHintsFeedback, localStorage) ->
|
||||||
|
|
||||||
# enable per-user containers by default
|
# enable per-user containers by default
|
||||||
perUserCompile = true
|
perUserCompile = true
|
||||||
autoCompile = true
|
autoCompile = true
|
||||||
|
@ -76,7 +75,7 @@ define [
|
||||||
ide.$scope.$on "ide:opAcknowledged", _.debounce(() ->
|
ide.$scope.$on "ide:opAcknowledged", _.debounce(() ->
|
||||||
if (!ide.$scope.hasLintingError)
|
if (!ide.$scope.hasLintingError)
|
||||||
$scope.recompile()
|
$scope.recompile()
|
||||||
, 3000)
|
, 3000) if window.user?.betaProgram
|
||||||
|
|
||||||
# abort compile if syntax checks fail
|
# abort compile if syntax checks fail
|
||||||
$scope.stop_on_validation_error = localStorage("stop_on_validation_error:#{$scope.project_id}")
|
$scope.stop_on_validation_error = localStorage("stop_on_validation_error:#{$scope.project_id}")
|
||||||
|
|
Loading…
Reference in a new issue