Skip to content

Commit

Permalink
Fix log download link in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Manary committed Jul 22, 2019
1 parent 92ba3df commit 3e1a15a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/Build.vue
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,9 @@ export default {
link.download = `logs_${namespace}_${name}_${stage}_${step}.log`;
link.href = URL.createObjectURL(blob);
link.target = "_blank";
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
},
onScroll() {
if (this.outputFullscreen) return;
Expand Down

0 comments on commit 3e1a15a

Please sign in to comment.