mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 11:31:55 +02: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:
@@ -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", () ->
|
||||
|
||||
Reference in New Issue
Block a user