mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 01:12:27 +00:00
Show the pdf if it was already loaded.
This ensures the pdf will be visible if the user switches to fullscreen-view.
This commit is contained in:
parent
b8c3b427ee
commit
d5c280dc4d
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,9 @@ define [
|
|||
App.controller "PdfController", ($scope, $http, ide, $modal, synctex, event_tracking, localStorage) ->
|
||||
|
||||
autoCompile = true
|
||||
$scope.pdf.view = 'uncompiled' # uncompiled | pdf | errors
|
||||
|
||||
# pdf.view = uncompiled | pdf | errors
|
||||
$scope.pdf.view = if $scope?.pdf?.url then 'pdf' else 'uncompiled'
|
||||
$scope.shouldShowLogs = false
|
||||
|
||||
$scope.$on "project:joined", () ->
|
||||
|
|
Loading…
Reference in a new issue