added csp directives
This commit is contained in:
parent
b32e63c305
commit
9234bce75d
5 changed files with 37 additions and 12 deletions
|
@ -9,7 +9,8 @@ $(document).ready(function() {
|
|||
$('#send-file').click(() => {
|
||||
window.location.replace(`${window.location.origin}`);
|
||||
});
|
||||
const download = () => {
|
||||
$('#download-btn').click(download);
|
||||
function download() {
|
||||
const fileReceiver = new FileReceiver();
|
||||
const name = document.createElement('p');
|
||||
const $btn = $('#download-btn');
|
||||
|
@ -84,7 +85,5 @@ $(document).ready(function() {
|
|||
Raven.captureException(err);
|
||||
return Promise.reject(err);
|
||||
});
|
||||
};
|
||||
|
||||
window.download = download;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue