Skip to content

Commit

Permalink
Add download attribute to download link
Browse files Browse the repository at this point in the history
This makes cypress happy and makes the whole thing more semantically
correct

Signed-off-by: Robbert Gurdeep Singh <git@beardhatcode.be>
  • Loading branch information
beardhatcode committed Mar 27, 2021
1 parent 080ab2d commit c8e275d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/views/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
{{ t('viewer', 'Open sidebar') }}
</ActionButton>
<ActionLink
download
icon="icon-download"
:close-after-click="true"
:href="currentFile.davPath">
Expand Down

0 comments on commit c8e275d

Please sign in to comment.