summaryrefslogtreecommitdiffstats
path: root/files/js
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-07-29 02:02:17 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-07-29 02:02:17 +0200
commit3a9af23cda613f7cad497ef824fd80ed66229d56 (patch)
treeaf2bc6d860d857e3e16466b8aeb9e889075ad427 /files/js
parente7a26271892459ff946e9e45f1a8da1cfb1b188e (diff)
downloadnextcloud-server-3a9af23cda613f7cad497ef824fd80ed66229d56.tar.gz
nextcloud-server-3a9af23cda613f7cad497ef824fd80ed66229d56.zip
always show download icon on hover
Diffstat (limited to 'files/js')
-rw-r--r--files/js/fileactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/js/fileactions.js b/files/js/fileactions.js
index e1f25885fec..4de7fa5542b 100644
--- a/files/js/fileactions.js
+++ b/files/js/fileactions.js
@@ -56,7 +56,7 @@ FileActions={
var actions=FileActions.get(FileActions.getCurrentMimeType(),FileActions.getCurrentType());
var defaultAction=FileActions.getDefault(FileActions.getCurrentMimeType(),FileActions.getCurrentType());
for(name in actions){
- if(actions[name]!=defaultAction && name!='Delete'){
+ if((name=='Download' || actions[name]!=defaultAction) && name!='Delete'){
var img=FileActions.icons[name];
var html='<a href="#" title="'+name+'" class="file_action"/>';
var element=$(html);