mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix scope for pdf page load error handler
This commit is contained in:
parent
2e646729d1
commit
d8c11a0824
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ define [
|
|||
pageState.complete = false
|
||||
delete pageState.renderTask
|
||||
@removeCompletedJob pagenum
|
||||
.catch (error) ->
|
||||
.catch (error) =>
|
||||
# page load error
|
||||
$timeout.cancel(timer)
|
||||
@clearIndicator page
|
||||
|
|
Loading…
Reference in a new issue