mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Remove ng-click on output files, which was causing a double-request for download.
This commit is contained in:
parent
011f628de8
commit
30a63d1e42
2 changed files with 0 additions and 4 deletions
|
@ -159,7 +159,6 @@ div.full-size.pdf(ng-controller="PdfController")
|
|||
a(
|
||||
href="/project/{{project_id}}/output/{{file.path}}"
|
||||
target="_blank"
|
||||
ng-click="openOutputFile(file)"
|
||||
) {{ file.name }}
|
||||
a.btn.btn-info.btn-sm(href, ng-click="toggleRawLog()")
|
||||
span(ng-show="!pdf.showRawLog") #{translate("view_raw_logs")}
|
||||
|
|
|
@ -166,9 +166,6 @@ define [
|
|||
$scope.toggleRawLog = () ->
|
||||
$scope.pdf.showRawLog = !$scope.pdf.showRawLog
|
||||
|
||||
$scope.openOutputFile = (file) ->
|
||||
window.open("/project/#{$scope.project_id}/output/#{file.path}")
|
||||
|
||||
$scope.openClearCacheModal = () ->
|
||||
modalInstance = $modal.open(
|
||||
templateUrl: "clearCacheModalTemplate"
|
||||
|
|
Loading…
Reference in a new issue