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

Commit

Permalink
fix(ExportHistory): do not have download-button target _blank
Browse files Browse the repository at this point in the history
  • Loading branch information
Thore3 committed Mar 28, 2018
1 parent 2dd665e commit d51fdca
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 d51fdca

Please sign in to comment.