always show download icon on hover

This commit is contained in:
Robin Appelman 2011-07-29 02:02:17 +02:00
parent e7a2627189
commit 3a9af23cda
1 changed files with 1 additions and 1 deletions

View File

@ -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);