Skip to content

Commit

Permalink
Fix fetch on firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
ttys0dev committed Sep 5, 2024
1 parent 26e5f85 commit 07c48f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Changes:

Fixes:
- Disables notifications in Safari due to API limitations ([391](https://github.com/freelawproject/recap-chrome/pull/391)).
- Fix fetch on firefox ([393](https://github.com/freelawproject/recap-chrome/pull/393)).

For developers:
- Preserves permissions during macOS and iOS release package creation ([391](https://github.com/freelawproject/recap-chrome/pull/391))
Expand Down
2 changes: 1 addition & 1 deletion src/content_delegate.js
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ ContentDelegate.prototype.onDownloadAllSubmit = async function (event) {
navigator.userAgent.indexOf('Safari') +
navigator.userAgent.indexOf('Chrome') <
0
? content.fetch
? fetch
: window.fetch;
const options = await getItemsFromStorage('options');
const pacerCaseId = event.data.id.match(/caseid=(\d*)/)[1];
Expand Down

0 comments on commit 07c48f3

Please sign in to comment.