Skip to content
Snippets Groups Projects
Commit 3a9af23c authored by Robin Appelman's avatar Robin Appelman
Browse files

always show download icon on hover

parent e7a26271
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment