mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-29 05:33:16 +00:00
Auto compile on project join, not doc open
This commit is contained in:
parent
688842de3c
commit
cd8a94b108
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ define [
|
|||
], (App, LogParser) ->
|
||||
App.controller "PdfController", ["$scope", "$http", "ide", "$modal", "synctex", ($scope, $http, ide, $modal, synctex) ->
|
||||
autoCompile = true
|
||||
$scope.$on "doc:opened", () ->
|
||||
$scope.$on "project:joined", () ->
|
||||
return if !autoCompile
|
||||
autoCompile = false
|
||||
$scope.recompile(isAutoCompile: true)
|
||||
|
|
Loading…
Reference in a new issue