Skip to content

Commit

Permalink
Merge pull request #50 from baloise/main
Browse files Browse the repository at this point in the history
Update mask_downloader.js
  • Loading branch information
robbizbal authored Nov 26, 2024
2 parents 4757d7a + c732b22 commit 7f3725c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/static/scripts/mask_downloader.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
document.getElementById('downloadBtn').addEventListener('click', function() {

const contents = [
{ content: document.getElementById('responseFieldEntities').value, name: 'yoyo-entities.json', type: 'text/json' }, // changing type from 'application/json' to 'text/json' to avoid download issues
{ content: document.getElementById('responseFieldEntities').value, name: 'yoyo-entities.json', type: 'application/json' },
{ content: document.getElementById('responseFieldAnonText').value, name: 'yoyo-anonymizedText.txt', type: 'text/plain' },
];

Expand Down

0 comments on commit 7f3725c

Please sign in to comment.