Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_pdfviewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-10-26 18:00:04 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-10-26 18:00:04 +0300
commite539b04121470c5efbf05b65746bbf18a44d317f (patch)
treef6f01f222300436e1995d1556986a2acef61856b
parent83004b3bf93b643cec3c9bf93973c21c4d3f430c (diff)
Disable download button by default
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--templates/viewer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/viewer.php b/templates/viewer.php
index f05e42a..a51b2e9 100644
--- a/templates/viewer.php
+++ b/templates/viewer.php
@@ -227,7 +227,7 @@ See https://github.com/adobe-type-tools/cmap-resources
<span data-l10n-id="print_label">Print</span>
</button>
- <button id="download" class="toolbarButton download hiddenMediumView" title="Download" tabindex="34" data-l10n-id="download">
+ <button id="download" class="toolbarButton download hiddenMediumView" title="Download" tabindex="34" data-l10n-id="download" hidden="true">
<span data-l10n-id="download_label">Download</span>
</button>
<a href="#" id="viewBookmark" class="toolbarButton bookmark hiddenSmallView" title="Current view (copy or open in new window)" tabindex="35" data-l10n-id="bookmark">