summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-06-25 10:13:56 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-07-06 13:40:20 +0200
commit4ec2e6c3576dbbd70472f958a79c159c75a238fe (patch)
tree0a37c34bea4ee069ccf7f6d19a1e2b1da69e6dcb /apps
parent3bd5f5eb4cd43fda85f97d1caa216abb213ffaf0 (diff)
downloadnextcloud-server-4ec2e6c3576dbbd70472f958a79c159c75a238fe.tar.gz
nextcloud-server-4ec2e6c3576dbbd70472f958a79c159c75a238fe.zip
remove duplicate ID in HTML template for public shares
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/css/public.css2
-rw-r--r--apps/files_sharing/templates/public.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index ef013ca07d7..cb6498204c5 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -51,7 +51,7 @@ thead {
}
/* keep long file names in one line to not overflow download button on mobile */
-.directDownload #download {
+.directDownload #downloadFile {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index a1c901f0822..e04643b9df8 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -91,7 +91,7 @@ $previewSupported = OC\Preview::isMimeSupported($_['mimetype']) ? 'true' : 'fals
<div id="imgframe"></div>
<?php endif; ?>
<div class="directDownload">
- <a href="<?php p($_['downloadURL']); ?>" id="download" class="button">
+ <a href="<?php p($_['downloadURL']); ?>" id="downloadFile" class="button">
<img class="svg" alt="" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"/>
<?php p($l->t('Download %s', array($_['filename'])))?> (<?php p($_['fileSize']) ?>)
</a>