hide the text layer on reload

This commit is contained in:
Brian Gough 2017-06-15 13:42:19 +01:00
parent fbaa918927
commit 76dcde4dae

View file

@ -323,6 +323,8 @@ define [
clearTimeout spinnerTimer
else
spinner.remove(element)
# stop displaying the text layer
element.removeClass 'pdfjs-viewer-show-text'
ctrl.redraw(origposition)
$timeout renderVisiblePages
scope.loadSuccess = true