Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1486 from blockchain/fix-download
Browse files Browse the repository at this point in the history
Fix download button
  • Loading branch information
prwelber authored Mar 28, 2018
2 parents 2dd665e + d51fdca commit 0255cb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/directives/download-button.directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function downloadButton ($window, $timeout) {
filename: '@',
content: '='
},
template: '<a href="{{dataRef}}" download="{{filename}}" target="_blank" rel="noopener noreferrer">{{::"DOWNLOAD"|translate}}</a>',
template: '<a href="{{dataRef}}" download="{{filename}}" rel="noopener noreferrer">{{::"DOWNLOAD"|translate}}</a>',
link: link
};
return directive;
Expand Down

0 comments on commit 0255cb9

Please sign in to comment.