mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
hide the text layer on reload
This commit is contained in:
parent
fbaa918927
commit
76dcde4dae
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue