mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-03 12:53:34 -05:00
removed timeout for compile on the client side, rely on serverside http request
This commit is contained in:
parent
dabed896be
commit
ddfdc9e3f7
1 changed files with 3 additions and 7 deletions
|
@ -125,11 +125,6 @@ define [
|
|||
@_refreshPdfWhenProjectIsLoaded(opts)
|
||||
|
||||
_refreshPdfWhenProjectIsLoaded: (opts = {}) ->
|
||||
doneCompiling = _.once =>
|
||||
@compiling = false
|
||||
@view.doneCompiling()
|
||||
@syncButtonsView?.show()
|
||||
setTimeout doneCompiling, 1000 * 60
|
||||
|
||||
if !@ide.project.get("rootDoc_id")?
|
||||
new Modal
|
||||
|
@ -145,8 +140,9 @@ define [
|
|||
@compiling = true
|
||||
@_doCompile opts, (error, status, outputFiles) =>
|
||||
@compiling = false
|
||||
doneCompiling()
|
||||
|
||||
@view.doneCompiling()
|
||||
@syncButtonsView?.show()
|
||||
|
||||
if error?
|
||||
@view.updateLog(systemError: true)
|
||||
@view.unsetPdf()
|
||||
|
|
Loading…
Reference in a new issue