CaptivePortal, whitespace

This commit is contained in:
Ad Schellevis 2019-03-22 11:47:07 +01:00
parent 70af9a9816
commit f505973024

View File

@ -219,13 +219,12 @@ POSSIBILITY OF SUCH DAMAGE.
.appendTo('body');
$('#downloadFile').ready(function() {
if ( window.navigator.msSaveOrOpenBlob && window.Blob ) {
var blob = new Blob( [ output_data ], { type: "text/csv" } );
navigator.msSaveOrOpenBlob( blob, voucher_groupname.toLowerCase() + '.csv' );
}
else {
$('#downloadFile').get(0).click();
}
if ( window.navigator.msSaveOrOpenBlob && window.Blob ) {
var blob = new Blob( [ output_data ], { type: "text/csv" } );
navigator.msSaveOrOpenBlob( blob, voucher_groupname.toLowerCase() + '.csv' );
} else {
$('#downloadFile').get(0).click();
}
});
$("#generateVouchers").modal('hide');