mirror of
https://github.com/gophish/gophish
synced 2024-11-15 08:47:17 +00:00
Fixing results download in Firefox. Fixes #153
This commit is contained in:
parent
1fe1af2ce9
commit
913f444598
1 changed files with 2 additions and 0 deletions
|
@ -111,7 +111,9 @@ function exportAsCSV(scope) {
|
|||
var dlLink = document.createElement('a');
|
||||
dlLink.href = csvURL;
|
||||
dlLink.setAttribute('download', scope + '.csv');
|
||||
document.body.appendChild(dlLink)
|
||||
dlLink.click();
|
||||
document.body.removeChild(dlLink)
|
||||
}
|
||||
$("#exportButton").html(exportHTML)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue