diff --git a/src/content_delegate.js b/src/content_delegate.js index 217f779c..04422842 100644 --- a/src/content_delegate.js +++ b/src/content_delegate.js @@ -595,9 +595,7 @@ ContentDelegate.prototype.onDownloadAllSubmit = async function (event) { const browserSpecificFetch = navigator.userAgent.indexOf('Safari') + navigator.userAgent.indexOf('Chrome') < 0 ? content.fetch : window.fetch; - // load options const options = await getItemsFromStorage('options'); - // generate the filename const pacerCaseId = event.data.id.match(/caseid=(\d*)/)[1]; const filename = generateFileName(options, pacerCaseId);