Skip to content

Commit

Permalink
Merge pull request #303 from bobmanary/fix-firefox-log-download
Browse files Browse the repository at this point in the history
Fix log download link in Firefox
  • Loading branch information
bradrydzewski authored Aug 20, 2019
2 parents cc057c5 + 3e1a15a commit 0a1fa84
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 @@ -386,7 +386,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 0a1fa84

Please sign in to comment.