fix scope for pdf page load error handler

This commit is contained in:
Brian Gough 2016-07-13 14:04:58 +01:00
parent 2e646729d1
commit d8c11a0824

View file

@ -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