mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
always show download icon on hover
This commit is contained in:
parent
e7a2627189
commit
3a9af23cda
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue