summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-01-29 11:43:34 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-01-29 11:43:34 +0100
commitd310df505c0de1ed0ba4067a0c8304b8a675fa8c (patch)
treeb63bdd93167e04c2018982e00501f335f169eb2c /apps/files
parent8f81f007cd8189af0b3920c0c5cdf5b7e705c930 (diff)
downloadnextcloud-server-d310df505c0de1ed0ba4067a0c8304b8a675fa8c.tar.gz
nextcloud-server-d310df505c0de1ed0ba4067a0c8304b8a675fa8c.zip
permanently show download action on mobile, only icon
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/fileactions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index eb59e71a030..d0ef2491bdf 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -103,9 +103,9 @@ var FileActions = {
}
var html = '<a href="#" class="action" data-action="' + name + '">';
if (img) {
- html += '<img class ="svg" src="' + img + '" /> ';
+ html += '<img class ="svg" src="' + img + '" />';
}
- html += t('files', name) + '</a>';
+ html += '<span> ' + t('files', name) + '</span></a>';
var element = $(html);
element.data('action', name);