diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 128875ba6aba9..154b970c5be33 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -217,7 +217,7 @@ OCA.Sharing.PublicApp = { // Remove the link. This means that files without a default action fail hard $tr.find('a.name').attr('href', '#'); - this.fileActions.actions.all = {}; + delete this.fileActions.actions.all.Download; } return $tr; };